Error With preventing players from entering vehicles
#1

I get the errors:
C:\Users\col0037\Downloads\SAMP\gamemodes\tifzombi e.pwn(1038) : error 029: invalid expression, assumed zero
C:\Users\col0037\Downloads\SAMP\gamemodes\tifzombi e.pwn(1038) : warning 217: loose indentation
C:\Users\col0037\Downloads\SAMP\gamemodes\tifzombi e.pwn(1039) : error 017: undefined symbol "f"
C:\Users\col0037\Downloads\SAMP\gamemodes\tifzombi e.pwn(1040) : warning 217: loose indentation


From the code:
Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
	{
	if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
		Ѓ{
		f(team[playerid] != 2) // Change this to how you deal with teams in your script
			{
			RemovePlayerFromVehicle(playerid);
			}
		}
	}
Any solutions?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)