29.06.2011, 01:09
hi i tried making a auto rapiar here is my code
and my errors
Код:
if(IsPlayerInAnyVehicle(playerid) { new Float:vhealth;GetVehicleHealth(GetPlayerVehicleID(playerid),vhealth); if(vhealth<250) { RepairVehicle(GetPlayerVehicleID(playerid)); SetVehicleHealth(GetPlayerVehicleID(playerid),999); GameTextForPlayer((playerid,"~g~Auto ~w~Fix",1500,3); } }
Код:
C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(298) : error 017: undefined symbol "playerid" C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(300) : error 017: undefined symbol "playerid" C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(303) : error 017: undefined symbol "playerid" C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(304) : error 017: undefined symbol "playerid" C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(305) : error 017: undefined symbol "playerid" C:\Users\Family\Desktop\FastFive v2.0.1\gamemodes\free.pwn(305) : error 001: expected token: ",", but found ";" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.