View Full Version : Creating functions
frankpetrov
10-09-2011, 05:46 PM
I realize this may sound rather strange, but is it possible to create/script a function that does not exist?
Volumed
10-09-2011, 07:21 PM
If you mean in the way to make lines in a diffrent way yes then it will be maby possible.
frankpetrov
10-09-2011, 09:47 PM
No, I'm saying create a function that doesn't exist. Like something that isn't on the wiki.
Volumed
10-10-2011, 05:48 AM
No, I'm saying create a function that doesn't exist. Like something that isn't on the wiki.
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.
NeoPhoenix
10-12-2011, 04:35 PM
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)
Volumed
10-12-2011, 04:44 PM
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)
The GECK?
Lorenc
10-14-2011, 01:25 PM
stock whatever( parameter )
{
//Insert what you want...
}
To create public functions, use the public tag and forward the function!
forward whatever( parameter );
public whatever( parameter )
{
//Insert what you want...
}
Powered by vBulletin® Version 4.2.1 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.