25.07.2009, 21:26
Is it possible to add a position saving function in gf gamemode?If yes please give me the code
|
Originally Posted by BiG_Sm0k3
it is automatic in samp , just do /save [something that reminds you what you saved]
|
new Float:x;
new Float:y;
new Float:z;
if(strcmp, "/savepos", cmdtext)
{
GetPlayerPos(playerid, x, y, z);
return 1;
}
if(strcmp, "/goback", cmdtext)
{
SetPlayerPos(playerid, x, y, z);
return 1;
}