[Ajuda] Sistema de Teles
#8

pawn Код:
new dentro;
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0){
if(response){
if(listitem == 0){
if(IsPlayerInAnyVehicle(playerid)) {
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,992,-2752,442);
new pname[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Saia do Veнculo Para Lutar! ( /UFC )", pname);
SendClientMessageToAll(0xFF0000, string);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
else{
if(dentro == 2) return true;
dentro += 1;
new pname[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi Lutar UFC ( /UFC )", pname);
SendClientMessageToAll(0xFF9900AA, string);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,986,-2723,442);
ResetPlayerWeapons(playerid);
}
Agora quando ele foorr sair tu coloca dentro -=1 ou dentro--;
Reply


Messages In This Thread
[Ajuda] Sistema de Teles - by L.S.T - 03.02.2011, 01:32
Re: [Ajuda] Sistema de Teles - by [FeK]Knife - 03.02.2011, 01:48
Re: [Ajuda] Sistema de Teles - by Power_GamerX - 03.02.2011, 01:49
Re: [Ajuda] Sistema de Teles - by zSuYaNw - 03.02.2011, 01:52
Re: [Ajuda] Sistema de Teles - by L.S.T - 03.02.2011, 02:04
Re: [Ajuda] Sistema de Teles - by L.S.T - 03.02.2011, 02:06
Re: [Ajuda] Sistema de Teles - by H1g0r - 03.02.2011, 10:10
Re: [Ajuda] Sistema de Teles - by Rodrigo_Vilhena - 03.02.2011, 10:38
Re: [Ajuda] Sistema de Teles - by L.S.T - 03.02.2011, 21:10
Re: [Ajuda] Sistema de Teles - by L.S.T - 03.02.2011, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)