[Include] Insanity Pickups Control
#1

• Insanity Pickups Control •

- Description

This include attempts to provide greater control over the pickups of your server

- Author

Allan Jader (CyNiC)

- Note

You can change how much you want the include, leaving the credit to author
And please, report any bugs.

- Functions

pawn Код:
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);
- Important:

Add this to the your callback OnPlayerPickUpPickup:
pawn Код:
Cy_OnPlayerPickUpPickup(playerid,pickupid);
- Download

4Shared
Reply
#2

Nice, but could you explain me this 2:

GetPlayerPickupedAmount(playerid);
GetPlayerPickupedList(playerid);


:P?
Reply
#3

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
Nice, but could you explain me this 2:

GetPlayerPickupedAmount(playerid);
GetPlayerPickupedList(playerid);


:P?
- The amount of times what the player has pickuped the pickup.
- The IDS of all pickups caught by the player as string.
Reply
#4

Looks great cynic
Reply
#5

Yes, it's awesome...but

pawn Код:
C_CreatePickup(model,type,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
Dont change anything with
pawn Код:
CreatePickup
Reply
#6

Thanks for all.
Quote:
Originally Posted by Brian_Furious
Посмотреть сообщение
Yes, it's awesome...but

pawn Код:
C_CreatePickup(model,type,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
Dont change anything with
pawn Код:
CreatePickup
Y, i know, but it is useful to function GoToPickup.
Reply
#7

Quote:
Originally Posted by cynic
Посмотреть сообщение
Thanks for all.


Y, i know, but it is useful to function GoToPickup.
You can also put the coordinates of the pickup..for going to a pickup no?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)