Command - 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: Command (
/showthread.php?tid=236481)
Command -
Red_Devils - 07.03.2011
Who can create command for me?))
/command [Message] [Message] [Amount] [Amount]
Sorry my bad English))
Help me plz)
Re: Command -
Cameltoe - 07.03.2011
pawn Код:
command(readsomeulazybastard, playerid, params[])
{
new Message[2][60], Amount[2];
if(sscanf(params, "s[60]s[60]dd", Message[0], Message[1], Amount[0], Amount[1])) return SendClientMessage(playerid, color, "Usage : /readsomeulazybastard [Message] [Message] [Amount] [Amount]");
return 1;
}
Re: Command -
Red_Devils - 07.03.2011
Quote:
Originally Posted by Cameltoe
pawn Код:
command(readsomeulazybastard, playerid, params[]) { new Message[2][60], Amount[2]; if(sscanf(params, "s[60]s[60]dd", Message[0], Message[1], Amount[0], Amount[1])) return SendClientMessage(playerid, color, "Usage : /readsomeulazybastard [Message] [Message] [Amount] [Amount]"); return 1; }
|
sscanf and zcmd no!!
plz)
Re: Command -
Red_Devils - 07.03.2011
help!
Re: Command -
Cameltoe - 07.03.2011
Quote:
Originally Posted by Red_Devils
sscanf and zcmd no!!
plz)
|
Didn't you get the irony in that command ? please read it once again.
And yeah, there's an 24-48 hours limit on this forum, you're not allowed to spam your own thread in between.
Re: Command -
ElChapoGuzman - 07.03.2011
why you no explain better