29.03.2010, 20:37
Hello I have problem here
Now allways works but the GameTextForPlayer(playerid,"~b~Command: /gate",2000,3); doesnt work -.- what is wrong ? can you help me please
Code:
else if(gTeam[playerid] == TEAM_TEST)
{
if(PlayerToPoint(20.0, playerid,1541.6727,-1627.6631,13.3828))
{
GameTextForPlayer(playerid,"~b~Command: /gate",2000,3);
if(TestTor2Status == 0)
{
SetObjectRot(Test1,0.000000,0.000000,269.818847);
GameTextForPlayer(playerid,"~w~Open",2000,3);
TestTor2Status = 1;
}
else
{
SetObjectRot(Test1,0.000000,89.000000,269.818847);
GameTextForPlayer(playerid,"~w~Close",2000,3);
TestTor2Status = 0;
}
}
else SendClientMessage(playerid,COLOR_RED,"Test");
}
else SendClientMessage(playerid,COLOR_RED,"You have no Gates");

