[pawn]CMD:tele(playerid)
{
SetVehiclePos(GetPlayerVehicleID(playerid),1,1,1);
SetPlayerPos(playerid,1,1,1);
new string [ 128 ], pName [ MAX_PLAYER_NAME ];
GetPlayerName ( playerid, pName, sizeof ( pName ) );
format ( string, sizeof ( string ), \"\", pName );
SendClientMessageToAll ( 0xFFFF00FF, string );
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, \"~g~O~h~bjec~h~tek bet~h~ölt~h~ése\", 5000, 1);
SetTimerEx(\"Betoltes\", 5000, 0, \"i\", playerid);
return 1;
}
forward Betoltes(playerid);
public Betoltes(playerid)
{
TogglePlayerControllable(playerid, 1);
GameTextForPlayer(playerid, \"~g~Kész!\", 1000, 1);
return 1;
}[/pawn]
Nincs benne hiba.