[Ajuda] variavel pName
#10

apenas troque "pName" por outro nome.


pawn Код:
CMD:derby(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new VehicleID;
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID,625.6036,-2120.1682,8.6458);
        SetVehicleZAngle(GetPlayerVehicleID(playerid), 100.0);
        new ipanema[MAX_PLAYER_NAME];
        GetPlayerName(playerid, ipanema, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s foi para a arena derby ! ( /derby )", ipanema);
        SendClientMessageToAll(COR_LARANJA, string);
        ResetPlayerWeapons(playerid);
        SetPlayerInterior(playerid,0);
        SetPlayerArmour(playerid, 100.0);
        SetPlayerHealth(playerid, 100.0);
    }
    else
    {
        SendClientMessage(playerid,COLOR_RED,"VOCК PRECISA ESTAR EM UM VEНCULO!");
        SendClientMessage(playerid,COLOR_RED,"Vб atй o Estacionamento para pegar um( /estacionamento ).");
    }
    return 1;
}
Reply


Messages In This Thread
variavel pName - by shittt - 06.10.2013, 01:11
Re: variavel pName - by Don_Speed - 06.10.2013, 01:18
Re : variavel pName - by ThiagoMK - 06.10.2013, 01:24
Re: variavel pName - by [THs]ShadoW - 06.10.2013, 01:28
Re: variavel pName - by shittt - 06.10.2013, 01:38
Re: variavel pName - by Locky_ - 06.10.2013, 02:01
Re: variavel pName - by Coe1 - 06.10.2013, 02:07
Re : variavel pName - by ThiagoMK - 06.10.2013, 03:44
Re: variavel pName - by shittt - 06.10.2013, 03:52
Re: variavel pName - by zSuYaNw - 06.10.2013, 04:07

Forum Jump:


Users browsing this thread: 6 Guest(s)