23.01.2014, 20:21
here is the code
Quote:
{ SetPVarInt(playerid, "TrackCar", 1); new zone[MAX_ZONE_NAME]; Get3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone)); format(string, sizeof(string), "Your vehicle is located in %s.", zone); SendClientMessageEx(playerid, COLOR_YELLOW, string); SetPlayerCheckpoint(playerid, carPos[0], carPos[1], carPos[2], 15.0); SendClientMessageEx(playerid, COLOR_WHITE, "Hint: Make your way to the checkpoint to find your vehicle!"); } { SetPVarInt(playerid, "TrackCar", 1); new zone[MAX_ZONE_NAME]; Get3DZone(carPos[0], carPos[1], carPos[2], zone, sizeof(zone)); format(string, sizeof(string), "Your vehicle is located in %s.", zone); SendClientMessageEx(playerid, COLOR_YELLOW, string); SetPlayerCheckpoint(playerid, carPos[0], carPos[1], carPos[2], 15.0); SendClientMessageEx(playerid, COLOR_WHITE, "Hint: Make your way to the checkpoint to find your car!"); } { SetPVarInt(playerid,"TrackCar",1); new zone[MAX_ZONE_NAME]; Get3DZone(carPosF[0], carPosF[1], carPosF[2], zone, sizeof(zone)); format(string, sizeof(string), "Your vehicle is located in %s.", zone); SendClientMessageEx(playerid, COLOR_YELLOW, string); SetPlayerCheckpoint(playerid, carPosF[0], carPosF[1], carPosF[2], 15.0); SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Make your way to the checkpoint to find your car!"); } { SetPVarInt(playerid,"TrackCar",1); new zone[MAX_ZONE_NAME]; Get3DZone(carPosF[0], carPosF[1], carPosF[2], zone, sizeof(zone)); format(string, sizeof(string), "Your vehicle is located in %s.", zone); SendClientMessageEx(playerid, COLOR_YELLOW, string); SetPlayerCheckpoint(playerid, carPosF[0], carPosF[1], carPosF[2], 15.0); SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Make your way to the checkpoint to find your car!"); } { new Float:X,Float:Y,Float:Z; GetPlayerPos(EMSAccepted[i], X, Y, Z); new zone[MAX_ZONE_NAME]; Get3DZone(X, Y, Z, zone, sizeof(zone)); format(string, sizeof(string), "Your patient is located in %s.", zone); SetPlayerCheckpoint(i, X, Y, Z, 5); } |
Quote:
#include <a_samp> #include <streamer> #include <a_zones> #include <foreach> #include <yom_buttons> #include <djson> #include <progress> #include <YSI\y_timers> #include <ZCMD> #include <sscanf2> #include <audio> |
Quote:
../include/g_mysql.inc(42 ![]() D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72364) : error 017: undefined symbol "Get3DZone" D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72364) : warning 202: number of arguments does not match definition D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72399) : error 017: undefined symbol "Get3DZone" D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72399) : warning 202: number of arguments does not match definition D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72429) : error 017: undefined symbol "Get3DZone" D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72429) : warning 202: number of arguments does not match definition D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72453) : error 017: undefined symbol "Get3DZone" D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(72453) : warning 202: number of arguments does not match definition D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(82541) : error 017: undefined symbol "Get3DZone" D:\(Ez.Game.Z)\Test\EG Roleplay\backup\gamemodes\EGRP_mysql.pwn(82541) : warning 202: number of arguments does not match definition |