pickup problem
#3

no it'isnt
new vinci1,vinci2;

vinci1 = CreatePickup(1318,2, 2404.6521,4363.0576,15.3509, -1); //fine
vinci2 = CreatePickup(1318,2, 2418.7351,4385.4609,15.3509, -1); //fine

if(pickupid == vinci1)
{
GameTextForPlayer(playerid, "~g~$+10.000 +25 score!", 2000, 0);
GivePlayerMoney(playerid, 10000);
SetPlayerScore(playerid, GetPlayerScore(playerid)+25);
allspawn(playerid);
return 1;
}
if(pickupid == vinci2)
{
GameTextForPlayer(playerid, "~g~$+10.000 +25 score!", 2000, 0);
GivePlayerMoney(playerid, 10000);
SetPlayerScore(playerid, GetPlayerScore(playerid)+25);
allspawn(playerid);
return 1;
}
Reply


Messages In This Thread
pickup problem - by XxXBr0nXxX - 17.06.2018, 14:27
Re: pickup problem - by TheBeastKhan - 17.06.2018, 15:31
Re: pickup problem - by XxXBr0nXxX - 17.06.2018, 16:43
Re: pickup problem - by TheBeastKhan - 17.06.2018, 17:32
Re: pickup problem - by GTLS - 17.06.2018, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)