30.05.2014, 13:47
This Is Simple Teleport System
IN CMD:
so it will be
pawn Код:
stock TeleportPlayer(playerid,Float:x,Float:y,Float:z,telename[],telecmd[])
{
new sendername[MAX_PLAYER_NAME], string[500];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s(%d) Has Teleported To %s (%s)", sendername,playerid,telename,telecmd);
SendClientMessageToAll(-1, string);
SetPlayerPos(playerid,x,y,z);
return 1;
}
pawn Код:
CMD:ls(playerid,params[])
{
TeleportPlayer(playerid,0.00,0.00,0.00+5,"Blueberry","/bb");
return 1;
}
PHP код:
Player_Name(0) Has Teleported To Blueberry (/bb)