Coordinates! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Coordinates! (
/showthread.php?tid=71150)
Coordinates! -
Simmeey - 30.03.2009
Hello all sa-mpers.
I'm using UnderWorld Roleplay: LV script, It is an GF edit.
And i am going to move a house to a garage and i dont know what to search in pawno (find).
Like, when i am adding cars, I find addsta, and it will pop up addstaticvehicle list.
Hope you know what i mean.
thanks.
Re: Coordinates! -
LarzI - 30.03.2009
Post in the topic for the gm please
Re: Coordinates! -
illay - 30.03.2009
Simmeey,
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/getpos", cmdtext, true, 10) == 0)
{
GetPos(playerid);
return 1;
}
return 0;
}
stock GetPos(playerid) { //by illay
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid);
new string[200];
format(string,sizeof(string),"Pos: x:%.3f,y:%.3f,z:%.3f,a:%.3f",x,y,z,a);
return SendClientMessage(playerid,COLOR,string);
}