25.12.2009, 18:30
I need some help with getting the players who are at the
to get to the other point with writing /penter
The only error is when i compile it says its a undefined symbol
C:\Users\GuSo\Desktop\test.pwn(23750) : error 017: undefined symbol "VehicleToPoint"
Could anybody fix the command ?
Код:
if(VehicleToPoint(1.0,playerid,1818.0632,-1536.7803,13.3585))
The only error is when i compile it says its a undefined symbol
Код:
if(strcmp(cmd, "/penter", true) == 0 || strcmp(cmd, "/patun", true) == 0) { if(PlayerInfo[playerid][pJob] == 7) { if(GetPlayerState(playerid) == 1) { if(VehicleToPoint(1.0,playerid,1818.0632,-1536.7803,13.3585)) { SetVehiclePos(GetPlayerVehicleID(playerid), 1826.6522,-1538.7426,13.5469); SetPlayerPos(playerid, 1826.6522,-1538.7426,13.5469); } } } return 1; }
Could anybody fix the command ?