This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 7 of 7

Thread: Creating functions

  1. #1

    Creating functions

    I realize this may sound rather strange, but is it possible to create/script a function that does not exist?

  2. #2
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1

    Re: Creating functions

    If you mean in the way to make lines in a diffrent way yes then it will be maby possible.


  3. #3

    Re: Creating functions

    No, I'm saying create a function that doesn't exist. Like something that isn't on the wiki.

  4. #4
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1

    Re: Creating functions

    [quote author=frankpetrov link=topic=342.msg3281#msg3281 date=1318193251]
    No, I'm saying create a function that doesn't exist. Like something that isn't on the wiki.
    [/quote]

    In a scripting laung you can only use the commands that are in the source so not you never make fanatasy things like
    (echo now i can fly) XD, that will be awesome but no.

    But if you mean in the way like you want a timer in the game or a caputre the flag gametype yes then it will be possible to make that in pawn the function what rey show are only to make it more easy.

  5. #5

    Re: Creating functions

    Always depends on what you want to create. You´re only able to use native pawn functions + functions of vaultmp. I dont know if there are also plugins (like in samp)

  6. #6
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1

    Re: Creating functions

    [quote author=Phoenix link=topic=342.msg3344#msg3344 date=1318433725]
    Always depends on what you want to create. You´re only able to use native pawn functions + functions of vaultmp. I dont know if there are also plugins (like in samp)
    [/quote]

    The GECK?

  7. #7

    Re: Creating functions

    Code c:
    stock whatever( parameter )
    {
      //Insert what you want...
    }

    To create public functions, use the public tag and forward the function!

    Code c:
    forward whatever( parameter );
    public whatever( parameter )
    {
      //Insert what you want...
    }
    A gaming community ran by one person, with servers made by individuals (in this case, me, myself)
    I plan to look for a trusted person who will help me create a decent roleplay/deathmatch server on Vault-TEC,
    PM me if you're interested

Similar Threads

  1. Functions Explained
    By Lorenc in forum PAWN
    Replies: 7
    Last Post: 09-21-2011, 04:16 AM
  2. Question about new functions
    By Aeronix in forum PAWN
    Replies: 13
    Last Post: 09-14-2011, 11:17 PM
  3. Wiki page creating
    By Lorenc in forum Discussion
    Replies: 4
    Last Post: 09-05-2011, 03:53 PM
  4. Scripting functions
    By Lorenc in forum Suggestions
    Replies: 1
    Last Post: 08-09-2011, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •