17.03.2013, 15:17
Hello,
Before I start I want to apologize for my English.
So I have a little problem with pickup if I go on my pickup it starts spamming sent client message it looks like this :
Here is my code :
Pickups :
Please Help me !
Before I start I want to apologize for my English.
So I have a little problem with pickup if I go on my pickup it starts spamming sent client message it looks like this :
Here is my code :
Pickups :
Код:
FBIInsidePickup = CreatePickup(1239,1,246.3956,87.5255,1003.6406,0); FBIRoofPickup = CreatePickup(1239,1,-1750.0658,980.9041,95.8510,0); FBIGaragePickup = CreatePickup(1239,1,-1716.3550,1018.1495,17.5859,0);
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == FBIInsidePickup || pickupid == FBIRoofPickup || pickupid == FBIGaragePickup) { SendClientMessage(playerid,COLOR_DODGERBLUE,"Pour utiliser l'ascenseur du FBI tapez /monter et /descendre."); return 1; } return 1; }