SA-MP Forums Archive
[[[RESOLVED]]][PROBLEM] With Script - 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: [[[RESOLVED]]][PROBLEM] With Script (/showthread.php?tid=132619)



[[[RESOLVED]]][PROBLEM] With Script - THE_GAMER - 08.03.2010

Hi Im TheRedBull,Im Spanish.

I Have This Problem, and I can not solve,Can You Help Me?


Code:
Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/TheRedBullCerrar", cmdtext, true, 10) == 0)
{
MoveObject(Poort, 2287.4814453125, 604.43542480469, 12.593704223633);
SendClientMessage(playerid, COLOR_GREEN, "Puerta Cerrada.");
return 1;
}

if (strcmp("/TheRedBullAbrir", cmdtext, true, 10) == 0)
{
MoveObject(gate, 2287.4814453125, 604.43542480469, 12.593704223633);
SendClientMessage(playerid, COLOR_GREEN, "Puerta Abierta");
return 1;
}
return 0;

Please Answer me.


Re: [PROBLEM] With Script - [MWR]Blood - 08.03.2010

After return 0; put }
return 0;
}


Re: [PROBLEM] With Script - THE_GAMER - 08.03.2010

Quote:
Originally Posted by ikarus
After return 0; put }
return 0;
}
LOL Thanks man!