A simple command " /donations" - 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)
+--- Thread: A simple command " /donations" (
/showthread.php?tid=522820)
A simple command " /donations" -
KiM0Ro - 29.06.2014
Let's start the tutorial,I'm new in the scripting world,but I can help you with other commands.Ok,first you need to make this:
if(strcmp(cmd, "/donations", true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:Your example...");
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:Your example...");
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:Premium Account $$");
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:Admin level 1,$$");
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:Biz+house+100kk $$");
SendClientMessage(playerid, COLOR_RED, "[DONATIONS]:NRG for $)");
return 1;
}
I hope,I helped you with this simple command,thx