[[[RESOLVED]]][PROBLEM] With Script
#1

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.
Reply
#2

After return 0; put }
return 0;
}
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)