29.01.2018, 19:54
I'm (still) trying to get this old gamemode to compile and I can't figure out why i'm getting "undefined symbol" for ALMOST every stock (but not all). Can anybody help?
Example of errors:
Example of one of the many stocks:
Код:
#include <a_samp> #include <a_mysql> #include <a_actor> #include <sscanf2> #include <streamer> #include <YSI\y_ini> #include <foreach>
Код:
: error 017: undefined symbol "ShowTextDrawMenu" : error 017: undefined symbol "ShowTextDrawMenuItems" : error 017: undefined symbol "HideTextDrawMenu" : error 017: undefined symbol "ShowTextDrawMenu" : error 017: undefined symbol "ShowTextDrawMenuItems" : error 017: undefined symbol "SavePlayerStats"
Код:
stock SavePlayerStats(playerid) { if(!IsPlayerNPC(playerid) && PlayerInfo[playerid][pRegistered] == 1 && PlayerInfo[playerid][pLogged] == 1 && PlayerInfo[playerid][pSpawn] == 1) //Only saves if the player was logged in and spawned { new query[300],string[256],Float:Health,Float:Armour; if (PlayerInfo[playerid][pReturnWeapons] == 0) { for (new s=0; s<12; s++) { GetPlayerWeaponData(playerid, s, PlayerInfo[playerid][pWeapon][s],PlayerInfo[playerid][pAmmo][s]); } } }