04.06.2012, 14:05
pawn Код:
Descongelar(playerid);
if(!IsPlayerInAnyVehicle(playerid))
{
SetPlayerPos(playerid, -2706.3394,218.2382,4.1797);
TogglePlayerControllable(playerid,0);
SetTimerEx("Descongelar", 2000, false, "d", playerid);
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{FF0000}(/sft) {FFFF00}Player {FF0000}%s {FFFF00}Vocк foi teleportado para: {FF0000}San Fierro tuning",pName);
GameTextForPlayer(playerid,"~g~Loading Objetos",2000,3);
SendClientMessageToAll(playerid, string);
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
}
public Descongelar(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}