SA-MP Forums Archive
What is the problem - 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: What is the problem (/showthread.php?tid=552082)



What is the problem - nezo2001 - 22.12.2014

PHP код:
CMD:crevent(playerid, params[])
{
Events++;
if(
Events >= MAX_EVENTS)
{
SendClientMessage(playerid, COLOR_RED, "Sorry there is an event right now !");
SetPlayerVirtualWorld(playerid, 0);
}
else
{
SetPlayerVirtualWorld(playerid, 1);
SendClientMessage(playerid, COLOR_GREEN, "An event created !");
}
} 
What is the problem with this command ??
Please help !!


Re: What is the problem - nezo2001 - 22.12.2014

NVM solved