25.04.2012, 23:16
OnGameModeInit:
pronto...
pawn Code:
NovoPickup = CreatePickup(1242, 1, 113,1487.3585,-688.2050,94);
pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid) {
if (pickupid == NovoPickup) {
GameTextForPlayer(playerid, "~w~Armas!", 6000, 4);
GivePlayerWeapon(playerid, 24, 800);
GivePlayerWeapon(playerid, 25, 456);
GivePlayerWeapon(playerid, 29, 745);
GivePlayerWeapon(playerid, 31, 899);
GivePlayerWeapon(playerid, 34, 40);
GivePlayerWeapon(playerid, 42, 859);
GivePlayerWeapon(playerid, 44, 1);
return 1;
}
return 1;
}