Errors
#1

C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(2977) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(2984) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(2991) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3000) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3014) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3021) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3025) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(302 : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3035) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3043) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3046) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3053) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3060) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3074) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3083) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3095) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3114) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(312 : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3142) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3150) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3155) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3323) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3581) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(3582) : error 017: undefined symbol "GivePlayerCash"
C:\Documents and Settings\Lisa\Bureaublad\VLRP.pwn(4883) : error 017: undefined symbol "NOPCheck"


I got teamviewer. Add me at skype ilittlelisaa. I cant fix this. idk why
Reply
#2

#include <a_samp>
Reply
#3

#include <a_samp>


Its inside.
Reply
#4

Replace all GivePlayerCash with GivePlayerMoney, and make sure you defined this ProxDetector or maybe it in an include you don't have.
Reply
#5

C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(2977) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(2984) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(2991) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3000) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3014) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3021) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(302 : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3035) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3046) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3053) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3060) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3074) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3083) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3095) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3114) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(312 : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3142) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(3155) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(4883) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5497) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5513) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5526) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5540) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5551) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(5565) : error 017: undefined symbol "NOPCheck"
C:\Documents and Settings\Dennis\Bureaublad\Samp Stuff\VLRP.pwn(562 : error 017: undefined symbol "NOPCheck"

Now this
Reply
#6

stock GiftPlayer(playerid, giveplayerid) // playerid = Gifter. giveplayerid = gift receiver
{
new string[128];
if(PlayerInfo[playerid][pAdmin] >= 2 || playerid == MAX_PLAYERS)
{
new randgift = Random(1, 100);
if(randgift >= 1 && randgift <= 83)
{
new gift = Random(1, 9);
if(gift == 1)
{
if(/*PlayerInfo[giveplayerid][pConnectTime] < 2 || */PlayerInfo[giveplayerid][pWRestricted] > 0) return GiftPlayer(playerid, giveplayerid);
GivePlayerValidWeapon(giveplayerid, 27, 60000);
GivePlayerValidWeapon(giveplayerid, 24, 60000);
GivePlayerValidWeapon(giveplayerid, 31, 60000);
GivePlayerValidWeapon(giveplayerid, 34, 60000);
GivePlayerValidWeapon(giveplayerid, 29, 60000);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a full weapon set!");
format(string, sizeof(string), "* %s was just gifted a full weapon set, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 2)
{
PlayerInfo[giveplayerid][pFirstaid]++;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a first aid kit!");
format(string, sizeof(string), "* %s was just gifted a first aid kit, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 3)
{
PlayerInfo[giveplayerid][pMats] += 2000;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 2,000 materials!");
format(string, sizeof(string), "* %s was just gifted 2,000 materials, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 4)
{
if(PlayerInfo[giveplayerid][pWarns] != 0)
{
PlayerInfo[giveplayerid][pWarns]--;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a single warning removal!");
format(string, sizeof(string), "* %s was just gifted a single warning removal, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD2, "Random gift ended up in a removal of one warning - let's try again!");
GiftPlayer(playerid, giveplayerid);
return 1;
}
}
else if(gift == 5)
{
PlayerInfo[giveplayerid][pPot] += 50;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 50 grams of pot!");
format(string, sizeof(string), "* %s was just gifted 50 grams of pot, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 6)
{
PlayerInfo[giveplayerid][pCrack] += 25;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 25 grams of crack!");
format(string, sizeof(string), "* %s was just gifted 25 grams of crack, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 7)
{
GivePlayerMoney(giveplayerid, 20000);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $20,000!");
format(string, sizeof(string), "* %s was just gifted $20,000, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift ==
{
PlayerInfo[giveplayerid][pPaintTokens] += 10;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 10 paintball tokens!");
format(string, sizeof(string), "* %s was just gifted 10 paintball tokens, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
}
else if(randgift > 83 && randgift <= 9
{
new gift = Random(1, 6);
if(gift == 1)
{
GivePlayerMoney(giveplayerid, 150000);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $150,000!");
format(string, sizeof(string), "* %s was just gifted $150,000, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 2)
{
PlayerInfo[giveplayerid][pMats] += 15000;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 15,000 materials!");
format(string, sizeof(string), "* %s was just gifted 15,000 materials, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 3)
{
PlayerInfo[giveplayerid][pExp] += 10;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 10 respect points!");
format(string, sizeof(string), "* %s was just gifted 10 respect points, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 4)
{
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a free car!");
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Note: This rare reward may take up to 48 hours to be rewarded, contact Shop Techs.");
format(PlayerInfo[giveplayerid][pFlag], 128, "Free Car (Gift)");
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won a free car.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ABroadCast(COLOR_YELLOW, string, 4);
new year,month,day,log[128];
getdate(year, month, day);
format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won a free car(%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
Log("logs/gifts.log", log);
format(string, sizeof(string), "* %s was just gifted a free car, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 5)
{
if(PlayerInfo[giveplayerid][pDonateRank] > 0)
{
PlayerInfo[giveplayerid][pTokens] += 10;
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won 10 VIP tokens!");
format(string, sizeof(string), "* %s was just gifted 10 VIP tokens, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else
{
PlayerInfo[giveplayerid][pDonateRank] = 1;
PlayerInfo[giveplayerid][pTempVIP] = 10800;
PlayerInfo[giveplayerid][pBuddyInvited] = 1;
format(string, sizeof(string), "You have been invited to become a Level 1 VIP for 3 hours. Enjoy!", GetPlayerNameEx(giveplayerid));
SendClientMessageEx(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "BUDDY INVITE: %s has won a buddyinvite.", GetPlayerNameEx(giveplayerid));
Log("logs/makevip.log", string);
format(string, sizeof(string), "* %s was just gifted 3 hours of VIP, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
}
}
else if(randgift > 98 && randgift <= 100)
{
new gift = Random(1, 5);
if(gift == 1 && PlayerInfo[giveplayerid][pDonateRank] <= 2) // Silver VIP can get it extended, I suppose
{
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won one month of Silver VIP!");
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Note: This rare reward may take up to 48 hours to be rewarded.");
format(PlayerInfo[giveplayerid][pFlag], 128, "Free Silver VIP (Gift)");
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won one month of Silver VIP.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ABroadCast(COLOR_YELLOW, string, 2);
new year,month,day,log[128];
getdate(year, month, day);
format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won one month of Silver VIP(%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
Log("logs/gifts.log", log);
format(string, sizeof(string), "* %s was just gifted one month of Silver VIP, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 2)
{
new year,month,day,log[128];
getdate(year, month, day);
format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won a free house(%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
Log("logs/gifts.log", log);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a free house!");
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Note: This rare reward may take up to 48 hours to be rewarded.");
format(PlayerInfo[giveplayerid][pFlag], 128, "Free House (Gift)");
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won a free house.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ABroadCast(COLOR_YELLOW, string, 2);
format(string, sizeof(string), "* %s was just gifted a free house, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 3)
{
new year,month,day,log[128];
getdate(year, month, day);
format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won a $10 Gift Certificate on the Shop. (%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
Log("logs/gifts.log", log);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a $10 Gift Certificate on the Shop!");
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Note: This rare reward may take up to 48 hours to be rewarded.");
format(PlayerInfo[giveplayerid][pFlag], 128, "Free $10 Gift Certificate (Gift)");
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won a $10 Gift Certificate on the Shop.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ABroadCast(COLOR_YELLOW, string, 2);
format(string, sizeof(string), "* %s was just gifted a $10 Gift Certificate on the Shop, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
else if(gift == 4)
{
new year,month,day,log[128];
getdate(year, month, day);
format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won $500,000. (%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
Log("logs/gifts.log", log);
GivePlayerMoney(giveplayerid, 500000);
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $500,000!");
format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won $500,000.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
ABroadCast(COLOR_YELLOW, string, 2);
format(string, sizeof(string), "* %s was just gifted $500,000, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);
}
}
PlayerInfo[giveplayerid][pGiftTime] = 300;
}
return 1;
}


That is my proxdetector
Reply
#7

Anyone?
Reply
#8

Did u tried #include <a_samp>
Reply
#9

Read here you will get your answer: https://sampforum.blast.hk/showthread.php?tid=382655
Reply
#10

doesnt work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)