08.07.2011, 13:05
Yea, Your Script is bad
Ill Show you how the first Command Should be.
At the top add new hqgate;
Ill Show you how the first Command Should be.
Код:
if(strcmp("/closegate", cmdtext, true, 10) == 0) { if(PlayerToPoint(15.0, playerid,316.23278809,-1785.50659180)) { if (gTeam[playerid] == TEAM_GROVE) { MoveObject(hqgate, 305.02368164063, -1782.9171142578, 6.4842948913574, 1.500000); GameTextForPlayer(playerid, "Gate ~r~closing", 5000, 6); new Float:pX, Float:pY, Float:pZ; PlayerPlaySound(playerid,1057,pX,pY,pZ); } return 1; }