21.01.2014, 00:05
So it creates a pickup but somewhere else?
Change:
To:
Also, check this: https://sampwiki.blast.hk/wiki/Pickup_IDs because it seems that the pickup ID that you are trying to create doesn't exist so no pickup is displayed in the player's place.
Change:
Код:
CMD:createrepair(playerid,params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
AddARepairPickups(x, y, z);
return 1;
}
Код:
CMD:createrepair(playerid,cmdtext[])
{
#pragma unused cmdtext
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
AddARepairPickups(x, y, z);
return 1;
}

