#1

I have these errors:


lines:
7573:
Код:
if(newstate == PLAYER_STATE_PASSENGER) // TAXI & BUSSES
12266:
Код:
for(new i = 0; i < sizeof(TurfInfo); i++)
16009:
Код:
AttachObjectToVehicle (VehRadarID [vehid], vehid, 0.2, 0.50, 0.3, 0.0, 0.0, 90.0);
16109:
Код:
if(strcmp(cmd, "/start", true) == 0)
Reply
#2

For 16009 get 0.3c includes, for anothers show more codes.You returned too early.
Reply
#3

Some where above line 7573 you added an un-needed return.
Reply
#4

look like over the line 7573
Код:
			}
		}
		TelePos[playerid][0] = 0.0;
		TelePos[playerid][1] = 0.0;
	}
	{
	if ((oldstate == PLAYER_STATE_ONFOOT) && (newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER))
	{
	     OldVehID [playerid] = GetPlayerVehicleID (playerid);
	}
	return 1;
}

7573:	if(newstate == PLAYER_STATE_PASSENGER) // TAXI & BUSSES
	{
Reply
#5

It's too hard to tell with the section you've provided. Can you show from start to end on the function?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)