16.12.2014, 17:31
Hello everyone,I'm here with a new little problem! I want to add some pickups on my script that gives some shit to the players that picking them.So... the problem is,what I could do if I want the player to pickup it once,not twice or much more times?
pawn Код:
new tiki
pawn Код:
tiki = CreatePickup(1276, 23, 1583.34, -1640.16, 13.18, -1);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == tiki)
{
PlayerInfo[playerid][pExp]++;
}
return 1;
}