Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Float:pX,Float:pY,Float:pZ;
- CMD:sp(playerid,params[]){
- GetPlayerPos(playerid,pX,pY,pZ);
- DOF2_SetInt(pFile(playerid),"SPX",pX);
- DOF2_SetInt(pFile(playerid),"SPY",pY);
- DOF2_SetInt(pFile(playerid),"SPZ",pZ);
- SendClientMessage(playerid,-1,"Position Saved :-)");
- return 1;}
- CMD:lp(playerid,params[]){
- SetPlayerPos(playerid,DOF2_GetInt(pFile(playerid),"SPX"),DOF2_GetInt(pFile(playerid),"SPY"),DOF2_GetInt(pFile(playerid),"SPZ"));
- SendClientMessage(playerid,-1,"Teleported to your saved place");
- return 1;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement