06.10.2010, 15:19
• Insanity Pickups Control •
- DescriзгoEsse include tenta te dar um maior controle sobre os pickups de seu servidor.
- Autor
Allan Jader (CyNiC)
- Nota
Vocк pode alterar ou divulgar esse include o quanto quiser, porйm mantenha os crйtidos.
- Funзхes
pawn Code:
C_CreatePickup(model,type,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
C_DestroyPickup(pickupid);
C_SetPickupPos(pickupid,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
GoToPickup(playerid,pickupid);
GetPlayerLastPickup(playerid);
GetPlayerPickupedAmount(playerid);
GetPlayerPickupedList(playerid);
Adcione essa funзгo no callback OnPlayerPickUpPickup:
pawn Code:
Cy_OnPlayerPickUpPickup(playerid,pickupid);
4Shared