Need fix for this Error
#9

As u know i am Newbie Scripter
but the codes here
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid))
{
new i = playerid;
for(new h=0; h<=MAX_GATES; h++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, GateInfo[h][gCX], GateInfo[h][gCY], GateInfo[h][gCZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}*/ {Code number 6293}
if(newkeys & 2 && IsPlayerInAnyVehicle(playerid)) {Code Number 6294}
{
new i = playerid;
for(new g; g < sizeof(Gates); g++)
{
if(IsPlayerInRangeOfPoint(i, 20.0, Gates[g][closeX],Gates[g][closeY],Gates[g][closeZ]) || IsPlayerInRangeOfPoint(i, 20.0, Gates[g][openX],Gates[g][openY],Gates[g][openZ]))
{
OnPlayerCommandText(playerid, "/gate");
}
}
}
Reply


Messages In This Thread
Need fix for this Error - by IbeatS - 03.02.2014, 16:50
Re: Need fix for this Error - by Lidor124 - 03.02.2014, 17:01
Re: Need fix for this Error - by IbeatS - 03.02.2014, 17:04
Re: Need fix for this Error - by BullseyeHawk - 03.02.2014, 17:18
Re: Need fix for this Error - by IbeatS - 03.02.2014, 17:25
Re: Need fix for this Error - by BullseyeHawk - 03.02.2014, 17:32
Re: Need fix for this Error - by IbeatS - 03.02.2014, 18:36
Re: Need fix for this Error - by BullseyeHawk - 03.02.2014, 18:53
Re: Need fix for this Error - by IbeatS - 03.02.2014, 19:03
Re: Need fix for this Error - by iZN - 03.02.2014, 19:09

Forum Jump:


Users browsing this thread: 3 Guest(s)