Last small problem I need help.
#4

maybe, not sure but can u tell me what !gate does?
becoz maybe its like this
Код:
if(!strcmp(cmdtext, "/barrier", true))
{
if(IsPlayerInRangeOfPoint(playerid, 15, 1544.700317,-1630.735717,12.924660))
{
if(gate == 1)
{
SetObjectRot( pdgate2, 0,0.0,90.0);
gate = 0;
}
else if(gate == 0)
SetObjectRot( pdgate2, 0,90,90.0);
gate = 1;
}
}
return 1;
}
if u get alot of errors just add a bracket after setobjectrot at the else if
or remove one
Reply


Messages In This Thread
Last small problem I need help. - by Scriptissue - 02.10.2010, 20:12
Re: Last small problem I need help. - by Mike_Peterson - 02.10.2010, 20:17
Re: Last small problem I need help. - by Scriptissue - 02.10.2010, 20:19
Re: Last small problem I need help. - by Mike_Peterson - 02.10.2010, 20:31
Re: Last small problem I need help. - by Scriptissue - 02.10.2010, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)