help with /nrg
#10

Quote:
Originally Posted by FireCat
Посмотреть сообщение
ok no thx iv made it my self and im not a newbie i just have some questions like you were borned already knowing everything right?
You shoudln't brag .. cause you obviously are a newbie .. some redirected you to the right place and their not beeing cocky u guys that are begging for help are .. READ READ READ that's how we all learnt this lovely language ..

heres a working /nrg code anyway haven't tested but should work ..

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/nrg", cmdtext, true, 10) == 0)
    {
        new Float:x, Float:y, Float:z, Float:angle;
        GetPlayerPos(playerid, x, y, z);
        GetPlayerFacingAngle(playerid, angle);
        new NRG = CreateVehicle(522, x, y, z,angle, 6, 0, 0);
        PutPlayerInVehicle(playerid, NRG, 1);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
help with /nrg - by FireCat - 30.07.2010, 18:41
Re: help with /nrg - by WillyP - 30.07.2010, 18:46
Re: help with /nrg - by FireCat - 30.07.2010, 18:47
Re: help with /nrg - by -Xan- - 30.07.2010, 18:50
Re: help with /nrg - by baske007 - 30.07.2010, 18:51
Re: help with /nrg - by FireCat - 30.07.2010, 18:56
Re: help with /nrg - by -Xan- - 30.07.2010, 18:58
Re: help with /nrg - by FireCat - 30.07.2010, 19:01
Re: help with /nrg - by -Xan- - 30.07.2010, 19:05
Re: help with /nrg - by Cameltoe - 30.07.2010, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)