[AJUDA]Erro ao Compiler um Filterscript
#10

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)