01.03.2013, 08:04
(
Последний раз редактировалось seanny; 01.03.2013 в 09:07.
)
Quote:
C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(55) : warning 201: redefinition of constant/macro (symbol "strcpy(%1,%2,%3)") C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(2467) : warning 235: public function lacks forward declaration (symbol "ab_OnEnterExitModShop") C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(2502) : error 017: undefined symbol "PlayerNameEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(2503) : error 004: function "ProxDetector" is not implemented C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3066) : error 017: undefined symbol "IsNotAEngineCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3091) : error 017: undefined symbol "IsAnOwnableCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3113) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3118) : error 017: undefined symbol "IsACopCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3124) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3130) : error 017: undefined symbol "IsAPrisonCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3136) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3142) : error 017: undefined symbol "IsAGovCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3148) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3154) : error 017: undefined symbol "IsAnAmbulance" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3160) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3166) : error 017: undefined symbol "IsAnArmyCar" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3172) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3537) : error 017: undefined symbol "NameIsRP" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3622) : warning 213: tag mismatch C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3624) : warning 213: tag mismatch C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3625) : warning 213: tag mismatch C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3626) : warning 213: tag mismatch C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3763) : error 017: undefined symbol "DOO_SetPlayerPos" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3776) : error 017: undefined symbol "DOO_SetPlayerPos" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3794) : error 017: undefined symbol "SetPlayerPosEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3837) : error 017: undefined symbol "SetPlayerHealthEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3838) : error 017: undefined symbol "SetPlayerPosEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3855) : error 017: undefined symbol "ApplyAnimationEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3862) : error 017: undefined symbol "SetPlayerPosEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3866) : error 017: undefined symbol "SetPlayerHealthEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3870) : error 017: undefined symbol "SetPlayerHealthEx" C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\penls.pwn(3874) : error 017: undefined symbol "DOO_SetPlayerPos" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |
[Edit] I've found out where the error is, it is this command. What can be the problem?
All I tried to do was just make it hold more guns.
pawn Код:
if(!strcmp(cmdtext, "/putgun", true))
{
if(IsPlayerConnected(playerid))
{
if(PlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, LIGHTRED, "* You need to login first!");
return 1;
}
if(PlayerInfo2[Hospitalized][playerid] > 0)
{
SendClientMessage(playerid, LIGHTRED, "* Cannot do this right now!");
return 1;
}
if(PlayerInfo2[ReduceTime][playerid] > 0)
{
format(string, sizeof(string), "* You need to wait %d seconds to type this command.", PlayerInfo2[ReduceTime][playerid]);
SendClientMessage(playerid, LIGHTRED, string);
if(GetPlayerPing(playerid) >= 700)
{
SendClientMessage(playerid, GREY, "Your ping is too high to do this command.");
return 1;
}
if(PlayerInfo2[ReduceTime][playerid] > 0)
{
format(string, sizeof(string), " Please wait %d seconds to do this command.", PlayerInfo2[ReduceTime][playerid]);
SendClientMessage(playerid, GREY, string);
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, WHITE, "USAGE: /putgun [Slot]");
SendClientMessage(playerid, WHITE, "Hint: Check /weapons (/weps) to see all used and unused slots.");
return 1;
}
new level;
level = strval(tmp);
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
RemovePlayerWeaponEx(playerid, gunID);
PlayerInfo[playerid][pInvWeapon][level] = gunID;
PlayerInfo[playerid][pInvAmmo][level] = gunAmmo;
new gunname[100];
GetWeaponName(gunID, gunname, sizeof(gunname));
format(string, sizeof(string), "You put %s in your inventory.", gunname);
SendClientMessage(playerid, GREY, string);
PlayerInfo2[ReduceTime][playerid] = 2;
return 1;
}
else
{
SendClientMessage(playerid, GREY, "You don't have a gun to put in!");
return 1;
}
}
return 1;
}