Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. new Float:pX,Float:pY,Float:pZ;
  2. CMD:sp(playerid,params[]){
  3. GetPlayerPos(playerid,pX,pY,pZ);
  4. DOF2_SetInt(pFile(playerid),"SPX",pX);
  5. DOF2_SetInt(pFile(playerid),"SPY",pY);
  6. DOF2_SetInt(pFile(playerid),"SPZ",pZ);
  7. SendClientMessage(playerid,-1,"Position Saved :-)");
  8. return 1;}
  9.  
  10. CMD:lp(playerid,params[]){
  11. SetPlayerPos(playerid,DOF2_GetInt(pFile(playerid),"SPX"),DOF2_GetInt(pFile(playerid),"SPY"),DOF2_GetInt(pFile(playerid),"SPZ"));
  12. SendClientMessage(playerid,-1,"Teleported to your saved place");
  13. return 1;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement