[Ajuda] Erro ao copiar '-'
#6

Consertei o seu cуdigo :


pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cartype = GetPlayerVehicleID(playerid);
    new State = GetPlayerState(playerid);
    if(strcmp(cmdtext, "/drif1", true) == 0)
    {
        SetPlayerInterior(playerid, 0);
        if(State != PLAYER_STATE_DRIVER)
        {
            SetPlayerPos(playerid, -302.0343, 1526.2135, 75.3594);
        }
        else if(IsPlayerInVehicle(playerid, cartype))
        {
            SetVehiclePos(cartype, -302.0343, 1526.2135, 75.3594);
            SetVehicleZAngle(cartype, 180.1530);
        }
        else
        {
            SetPlayerPos(playerid, -302.0343, 1526.2135, 75.3594);
        }
        static buff[80], pn[25];
        GetPlayerName(playerid, pn, sizeof(pn));
        format(buff, sizeof(buff), "%s foi para o drift 1 (/drift1)", pn);
        SendClientMessageToAll(0xFFFF00AA, buff);
        return 1;
    }


Espero ter ajudado .
Reply


Messages In This Thread
Erro ao copiar '-' - by OakleyBrasil - 26.07.2012, 05:10
Re: Erro ao copiar '-' - by FrostGF - 26.07.2012, 05:20
Re: Erro ao copiar '-' - by ipsBruno - 26.07.2012, 05:47
Re: Erro ao copiar '-' - by OakleyBrasil - 26.07.2012, 06:21
Re: Erro ao copiar '-' - by ipsBruno - 26.07.2012, 06:31
Re: Erro ao copiar '-' - by rjjj - 26.07.2012, 14:59

Forum Jump:


Users browsing this thread: 2 Guest(s)