Quote:
Originally Posted by =WoR=G4M3Ov3r
PHP код:
if (strcmp("/opengate", cmdtext, true, 10) == 0)
{
if(AccInfo[playerid][Level] >= 9 )
{
MoveObject(gate,1627.48156738,641.35876465,5.56952 858, 3.0);
GameTextForPlayer(playerid, "~w~Gate opened, Welcome", 5000, 5);
return 1;
}
if (strcmp("/closegate", cmdtext, true, 10) == 0)
{
[COLOR="Red"]if(AccInfo[playerid][Level] >= 9 )
{
MoveObject(gate,1627.47692871,641.25878906,13.8192 3294, 3.0);
GameTextForPlayer(playerid, "~w~Gate close, Goodbye", 5000, 5);
return 1;[/COLOR]
}
|
You have a missing bracket there bud..