CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? (
/showthread.php?tid=72117)
CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? -
kukker - 06.04.2009
hello guys
me and my friend running a server (world of fun) if any of you have seen it.
and we have a little problem we want fixed if you could help.
The question sounds:
can i make new commands manually to the server? if, how?
in this situation we want a command named
/para that gives you a parachute and it does not need to be admin only command.
we need that commands because it could be very usefull with a parachute sometimes in a stunt..
Re: CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? -
bernas - 06.04.2009
https://sampwiki.blast.hk/wiki/Using_strcmp%28%29
Re: CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? -
kukker - 06.04.2009
not a /me command a /para command.
Re: CAN I MAKE NEW COMMANDS TO THE SERVER? IF, HOW? -
DMSOrg - 06.04.2009
grr....
pawn Код:
OnPlayerCommandText(playerid, cmd[])
{
if(strcmp(cmd, "/para", true) == 0)
{
whatever you want it to do here.
return value;
}
}