02.04.2016, 05:37
Код:
COMMAND:pickup(playerid, params[]) { new szString[128]; if(sscanf(params, "d", pickupids)) return SendClientMessage(playerid, COLOR_RED, "You have to insert the pickup id."); new Float:X, Float:Y, Float:Z, Float:Angle; GetPlayerPos(playerid, Float:X, Float:Y, Float:Z); pickup = CreatePickup(pickupids, 2, Float:X, Float:Y, Float:Z, GetPlayerVirtualWorld(playerid)); return 1; }
I already add Float:Y+2 but when I'm facing to south it spawn on my back