30.12.2010, 01:06
Quote:
|
Hey everyone
Wondering if anyone could help me with something. I would like it that when you pick up a pickup the person obtains a skin. CreatePickup(1275, 2, 2244.4268, -1162.7134, 1029.7969, -1); This is all i got so far, thanks for the help in advance |
pawn Код:
CreatePickup(1275, 2, 2244.4268, -1162.7134, 1029.7969, -1); // Get the ID of this pickup
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == 0) SetPlayerSkin(playerid, 99); // The `0` should be changed to the pickupid, and the 99 to the wanted skin.
}
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch(pickupid)
{
case 0: SetPlayerSkin(playerid, 99); // The `0` should be changed to the pickupid, and the 99 to the wanted skin.
}
}


