07.01.2010, 13:14
Can some1 help me ? how i can make pickups? (weapons)
new tec9pickup;
public OnGameModeInit()
{
tec9pickup = Createpickup(372, 2, floatX, floatY, floatZ, virtualword);
return 1;
}
public OnPlayerPickUppickup(playerid, pickupid)
{
if(pickupid == tec9pickup)
{
GivePlayerWeapon(playerid, 372, 150);
}
return 1;
}
what happens
this says error 010: invalid function or declaration and i dont find a error
I fix it
)))