Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: RasikhQadeer on September 18, 2011, 08:34:18 am
-
Well I have a problem that when i make a cmd [EXAMPLE] !server help it does not work but if i do this !serverhelp without space it works so please tell me what to do so i can make a working cmd like !server help so i can have a space i can make a cmd that when i give space it works.
-
Not work because for make a cmd with space, need param.
Is recommandable to make !serverhelp not !server help because you make more lines with space... You can make a short form for this command.
For example: !shelp , !help, !svhelp, !serverh and more.
-
ok, i can make !server help with a param ok
-
But What Is " param " And How To Use It???? I Want To Make A Cmd With Space Not Like Thos you Gave E.G :( Please Help
-
Well Try this if that give You Any Error Go To Edit option then undo and compile will return uur amx file
[pawn]else if (strcmp(cmd, "!Server", true) == 0) {
format(szMsg, sizeof(szMsg), "Hey %s, Server Name:Rasikh's Server Forums: http://www.cdoclan.tk/", gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
return 1;
}[/pawn]
May this Help you
-
I Want To Make A Cmd With Space Not Like Thos you Gave E.G Please Help
May be try to read the thread before posting??