CreateStrip(Float:x,Float:y,Float:z,Float:Angle)
DeleteAllStrip()
DeleteClosestStrip(playerid)
#define MAX_SPIKESTRIPS 200
Originally Posted by gtagangsta22
WOw thads awesome!
Plz reupload the vid cause i cant see it :P But good scrpt! |
Originally Posted by jasonnw666
hi i have these errors when i compil :/
(29) : error 017: undefined symbol "GetVehicleDamageStatus" (31) : error 017: undefined symbol "UpdateVehicleDamageStatus" (2 : warning 204: symbol is assigned a value that is never used: "carid" (30) : warning 204: symbol is assigned a value that is never used: "tires" (27) : warning 203: symbol is never used: "lights" (27) : warning 203: symbol is never used: "doors" (27) : warning 203: symbol is never used: "panels" |
C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(23) : error 017: undefined symbol "IsPlayerInRangeOfPoint" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(29) : error 017: undefined symbol "GetVehicleDamageStatus" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(31) : error 017: undefined symbol "UpdateVehicleDamageStatus" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(28) : warning 204: symbol is assigned a value that is never used: "carid" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(30) : warning 204: symbol is assigned a value that is never used: "tires" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "lights" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "doors" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "panels" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(78) : error 017: undefined symbol "IsPlayerInRangeOfPoint" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(74) : warning 203: symbol is never used: "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Originally Posted by OnPlayerUpdate
if(!IsPlayerConnected(playerid)) return 0;
|
Originally Posted by OnPlayerUpdate loop
if(IsPlayerInRangeOfPoint(playerid, 3.0, SpikeInfo[i][sX], SpikeInfo[i][sY], SpikeInfo[i][sZ]))
{ if(SpikeInfo[i][sCreated] == 1) |
Originally Posted by OnPlayerUpdate: tyre popping
UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);
return 0; |
Originally Posted by Hellpkz
hey i get a few errors:
Код:
C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(23) : error 017: undefined symbol "IsPlayerInRangeOfPoint" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(29) : error 017: undefined symbol "GetVehicleDamageStatus" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(31) : error 017: undefined symbol "UpdateVehicleDamageStatus" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(28) : warning 204: symbol is assigned a value that is never used: "carid" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(30) : warning 204: symbol is assigned a value that is never used: "tires" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "lights" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "doors" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(27) : warning 203: symbol is never used: "panels" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(78) : error 017: undefined symbol "IsPlayerInRangeOfPoint" C:\Documents and Settings\Anthony.ANTHONY-0987F55\Desktop\SA-MP\pawno\include\SpikeStrip.inc(74) : warning 203: symbol is never used: "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |