12.09.2011, 20:06
You can easy make that f ex. ZCMD
You need the ZCMD include - download it and place it into the pawn folder > includes.
Then include it ontop like this:
pawn Код:
CMD:gotolv(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, "[ADMIN] You teleported to Las Venturas!");
SetPlayerPos(playerid, x, y, z ); // Replace x, y, z to your own
return 1
}
CMD:gotols(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, "[ADMIN] You teleported to Los Santos!");
SetPlayerPos(playerid, x, y, z ); // Replace x, y, z to your own
return 1
}
Then include it ontop like this:
pawn Код:
#include <ZCMD>