Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:gotocoords(playerid, params[])
- {
- new Float:X, Float:Y, Float:Z;
- if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
- {
- if(sscanf(params, "fff", X, Y, Z)) return SendClientMessage(playerid, -1, "{FFEA02}KORISTI: {FFFFFF}/gotocoords [X coords] [Y coords] [Z coords]");
- SetPlayerPos(playerid, X, Y, Z);
- SendClientMessage(playerid, -1, "{FF0000}INFO: {FFFFFF}Se teleportiravte do vasite koordinati!");
- }
- else
- {
- SendClientMessage(playerid, -1, "{FF0000}GRESKA: {FFFFFF}Ne ste ovlasteni za ovaa komanda");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement