03.04.2012, 14:06
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:
Any solutions?
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); } } }