[AJUDA] Erro
#4

Tenta assim !!

pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("conce");
    AddPlayerClass(0, -2048.0999, -84.5000, 35.0000, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, -2065.2861,-81.7028,35.1641, 3.0);
    return 1;
}



public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/comprarbullet", cmdtext, true, 10) == 0)
    {
        if(PlayerToPoint(3.0, playerid, -2065.2861,-81.7028,35.1641))
        {
            ShopCar[playerid] = CreateVehicle(541,-2047.09997559,-84.50000000,35.00000000,0.00000000,-1,-1,15); //Bullet
            PutPlayerInVehicle(playerid, ShopCar[playerid], 0);
            SendClientMessage(playerid, COLOR_GREY, "Voce comprou um Bullet");
            }
            else
            {
            SendClientMessage(playerid, COLOR_GREY, "Voce na esta na Concecionaria");
                                       return 1;
            }
        }
    return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[AJUDA] Erro - by atsbs - 25.11.2011, 23:43
Re: [AJUDA] Erro - by ExpressxD - 25.11.2011, 23:45
Re: [AJUDA] Erro - by atsbs - 25.11.2011, 23:47
Re: [AJUDA] Erro - by ExpressxD - 25.11.2011, 23:51
Re: [AJUDA] Erro - by rjjj - 25.11.2011, 23:53
Re: [AJUDA] Erro - by atsbs - 25.11.2011, 23:54
Re: [AJUDA] Erro - by .Unnamed - 25.11.2011, 23:57
Re: [AJUDA] Erro - by atsbs - 26.11.2011, 00:09
Re: [AJUDA] Erro - by atsbs - 26.11.2011, 00:30
Re: [AJUDA] Erro - by Hardware - 26.11.2011, 00:34

Forum Jump:


Users browsing this thread: 4 Guest(s)