C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72364) : error 017: undefined symbol "Get3DZone" C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72364) : warning 202: number of arguments does not match definition C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72399) : error 017: undefined symbol "Get3DZone" C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72399) : warning 202: number of arguments does not match definition C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72429) : error 017: undefined symbol "Get3DZone" C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72429) : warning 202: number of arguments does not match definition C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72453) : error 017: undefined symbol "Get3DZone" C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(72453) : warning 202: number of arguments does not match definition C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(82541) : error 017: undefined symbol "Get3DZone" C:\Users\Parent\Desktop\MXRP Clean\include\MXRP_mysql.pwn(82541) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
SetPlayerVirtualWorld(playerid,GetVehicleVirtualWorld(PlayerVehicleInfo[id][i][pvId]));
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, carPos[0], carPos[1], carPos[2]);
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "You can not teleport to a empty/impounded slot.");
}
}
}
}
}
if(dialogid == TRACKCAR)
{
if(response == 1)
{
for(new i = 0; i < MAX_PLAYERVEHICLES; i++)
{
if(listitem == i)
{
new Float: carPos[3];
if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID)
{
GetVehiclePos(PlayerVehicleInfo[playerid][i][pvId], carPos[0], carPos[1], carPos[2]);
if(GetPVarInt(playerid, "Packages") >= 1 || TaxiAccepted[playerid] != 999 || EMSAccepted[playerid] != 999 || BusAccepted[playerid] != 999 || gPlayerCheckpointStatus[playerid] != CHECKPOINT_NONE || MedicAccepted[playerid] != 999 || MechanicCallTime[playerid] >= 1)
{
SendClientMessageEx(playerid, COLOR_WHITE, "Please ensure that your current checkpoint is destroyed first with /killcheckpoint (you either have material packages, or another existing checkpoint).");
}
else
{
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!");
}
stock Get3DZone(Float:x, Float:y, Float:z, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
for(new i = 0; i != sizeof(gSAZones); i++ )
{
if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5])
{
return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
}
}
return 0;
}
|
It's not related to the SQL here. Place this stock anywhere in your mode, outside any callback
pawn Код:
|