18.05.2012, 21:48
pawn Код:
new Float:plocx,Float:plocy,Float:plocz; // tem que se alinhado com as outras linhas.. aki ta dando bug..
new plo = strval(inputtext);
new string[64];
if(GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
}
SetPlayerPos(playerid,plocx,plocy+2, plocz);
SendClientMessage(playerid, COLOR_GOLD, "Teste");
GetPlayerPos(plo, plocx, plocy, plocz);
SetPlayerInterior(playerid,GetPlayerInterior(plo));
format(string, sizeof(string), "[INFO] Vocк teleportou atй %s.", plo);
SendClientMessage(playerid, COLOR_GOLD, string);
format(string2, sizeof(string2), "[INFO] O admin %s, teleportou atй vocк.", sendername);
SendClientMessage(plo, COLOR_GOLD, string);
pawn Код:
if(dialogid == Testedialog3)
{
if(response)
{
new Float:plocx,Float:plocy,Float:plocz;
new plo = strval(inputtext);
new string2[64];
if(GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
}
SetPlayerPos(playerid,plocx,plocy+2, plocz);
SendClientMessage(playerid, COLOR_GOLD, "Teste");
GetPlayerPos(plo, plocx, plocy, plocz);
SetPlayerInterior(playerid,GetPlayerInterior(plo));
format(string, sizeof(string), "[INFO] Vocк teleportou atй %s.", plo);
SendClientMessage(playerid, COLOR_GOLD, string);
format(string2, sizeof(string2), "[INFO] O admin %s, teleportou atй vocк.", sendername);
SendClientMessage(plo, COLOR_GOLD, string);
}
}