12.11.2011, 19:46
Quote:
i want create a pickup outside the map because i created a custom map
but the pickup doesnt appear where i want, it appear on the middle of the map. |
use this cmd to get the floats
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/pos", cmdtext, true) == 0)
{
new string1[256];
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
format(string1,sizeof(string1),"Position = X: %.0f , Y: %.0f , Z: %.0f",X,Y,Z);
SendClientMessage(playerid,COLOR_GREEN,string1);
return 1;
}
unless you went higher than about 2900.