Tessék CMD:tele(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2387.4890,-58.9413,35.3203);
} else {
SetPlayerPos(playerid,-2387.4890,-58.9413,35.3203);
}
return 1;
}
De ha kell kiirásal a chatre mindenkinek akkor CMD:tele(playerid, params[])
{
new name[MAX_PLAYER_NAME+1], string[128];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"{0000FF}%s {FFFF00}Elteleportált a ...{FF0000}(/tele)\",name);
SendClientMessageToAll(0xFFFF00AA, string);
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2387.4890,-58.9413,35.3203);
} else {
SetPlayerPos(playerid,-2387.4890,-58.9413,35.3203);
}
return 1;
}
Ha nem jó szólj
Ez saját nekem müködik eddig nem volt vele baj