22.12.2009, 18:10
pawn Код:
new LSPDpickup; //Global variable
LSPDpickup=CreatePickup(model, type, Float:x, Float:y, Float:z, vitualworld = 0 );//virtual world depends upon you
public OnPlayerPickUpPickup(playerid, pickupid)//anywhere
{
if (pickupid == LSPDpickup)
{
SendClientMessage(playerid, COLOR_GREEN, "Your text you want to add");
}