This site has been archived and made available for preservation purposes. No edits can be made.
-
Member
Creating functions
I realize this may sound rather strange, but is it possible to create/script a function that does not exist?
-
Senior Member
Re: Creating functions
If you mean in the way to make lines in a diffrent way yes then it will be maby possible.
-
Member
Re: Creating functions
No, I'm saying create a function that doesn't exist. Like something that isn't on the wiki.
-
Senior Member
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.
-
Member
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)
-
Senior Member
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?
-
Senior Member
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
-
Replies: 7
Last Post: 09-21-2011, 04:16 AM
-
Replies: 13
Last Post: 09-14-2011, 11:17 PM
-
By Lorenc in forum Discussion
Replies: 4
Last Post: 09-05-2011, 03:53 PM
-
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
-
Forum Rules