[ajuda] Player nao descongela -
goku114 - 04.06.2012
pawn Код:
if(!IsPlayerInAnyVehicle(playerid)){
SetPlayerPos(playerid, -2706.3394,218.2382,4.1797);
TogglePlayerControllable(playerid,0);
SetTimerEx("Unfreeze", 2000, 0, "d", playerid,1);
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);
}
Re: [ajuda] Conflito dialog -
s4kuL - 04.06.2012
Cadк os
SetPlayerPos?
Re: [ajuda] Conflito dialog -
goku114 - 04.06.2012
tu nao consegue ver?
Re: [ajuda] Conflito dialog -
s4kuL - 04.06.2012
Ata, eu nгo abaixei ^^
Re: [ajuda] Conflito dialog -
BreakDriFT - 04.06.2012
pawn Код:
TogglePlayerControllable(playerid,0); // 0 congela 1 descongela.
pawn Код:
TogglePlayerControllable(playerid,1);
Re: [ajuda] Conflito dialog -
goku114 - 04.06.2012
Quote:
Originally Posted by BreakDriFT
pawn Код:
TogglePlayerControllable(playerid,0); // 0 congela 1 descongela.
pawn Код:
TogglePlayerControllable(playerid,1);
|
to ligado mas eu quero com um set time
Re: [ajuda] Conflito dialog -
ReDKiiL - 04.06.2012
pawn Код:
forward Unfreeze(playerid);
public Unfreeze(playerid)
{
TogglePlayerControllable(playerid,1);
return 1;
}
Re: [ajuda] Conflito dialog -
Lуs - 04.06.2012
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;
}
Re: [ajuda] Conflito dialog -
goku114 - 04.06.2012
Quote:
Originally Posted by Los
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; }
|
tava lendo um topico igual ao seu so falto uma coisa nsse seu
o forward '-'
Re: [ajuda] Conflito dialog -
Lуs - 04.06.2012
Quote:
Originally Posted by goku114
tava lendo um topico igual ao seu so falto uma coisa nsse seu
o forward '-'
|
Nгo faz diferenзa com o
forward ou sem. Estou declarando uma
callback do mesmo jeito.
Abraзos.