03.05.2012, 17:42
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == TEST1) { //CODE //CODE //CODE //CODE ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); } if(pickupid == TEST2) { //CODE //CODE //CODE //CODE GivePlayerWeapon(playerid, 34,15); } return 1;
Whats wrong here ? If i pick the pickupid "TEST2" i get both pickpups together (also giveplayerweapon and applyanimation)