23.12.2010, 03:38
Quote:
ok then do this
if(GetPlayerVehicleID(playerid) == plane1 || GetPlayerVehicle(playerid) == 2 and go on |

edit didnt add vehs only yet but I am getting errors already
Код:
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(1896) : warning 217: loose indentation C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 017: undefined symbol "hasspawned" C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : warning 215: expression has no effect C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 001: expected token: ";", but found "]" C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 029: invalid expression, assumed zero C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public gc(playerid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(hasspawned[i] == 1) { SetPlayerScore(i, GetPlayerScore(i) + 1); SendClientMessage(playerid,0xFFFFFFFF,"You recieved +1 score for flying!"); } } return 1; }