27.04.2012, 13:43
Topo do GM:
OnGameModeInit ou OnFilterScriptInit:
public:
Compilou certinho aqui!
pawn Code:
new NovoPickup;
pawn Code:
NovoPickup = CreatePickup(1242, 1, 113,1487.3585,-688.2050,94);//tem ctz q й 94? Aн й o VW hein?
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;
}
Code:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase