Guest User

Untitled

a guest
Dec 3rd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. CMD:loadmap(playerid, params[])
  2. {
  3. new mapname[32], string[64];
  4. if(sscanf(params, "s[32]", mapname)) return SendClientMessage(playerid, -1, "USAGE: /loadmap (name)");
  5. format(string,sizeof(string), "maps/%s/%s.map", mapname, mapname);
  6. Load(string, -1, 200.0);
  7.  
  8. SetPlayerPos(playerid, 3975.30005, -1826.69922, 32.6);
  9. return 1;
  10. }
Add Comment
Please, Sign In to add comment