Jump to content

IcE.

Membru
  • Posts

    1,094
  • Joined

  • Last visited

Posts posted by IcE.

  1. [pawn]public OnPlayerCommandText(playerid, cmdtext[])

    {

        //comenzi

        //comenzi

        new

            pos,

            funcname[32];

        while (cmdtext[++pos] > ' ')

        {

            funcname[pos-1] = tolower(cmdtext[pos]);

        }

        format(funcname, sizeof(funcname), "cmd_%s", funcname);

        while (cmdtext[pos] == ' ') pos++;

        if (!cmdtext[pos])

        {

            return CallLocalFunction(funcname, "is", playerid, "\1");

        }

        return CallLocalFunction(funcname, "is", playerid, cmdtext[pos]);

    }[/pawn]

  2. la

    [pawn]public OnPlayerDeath[/pawn]

    Pui

    [pawn]SetPlayerPos(playerid,AICI PUI COORDONATELE);[/pawn]

    NU :o


    Folosesti un gm care are un spawn mai "special" adica dupa ce mori te da in spital, si dupa un timp te da in fata la spital.

    Cauta in gm pe la SetPlayerSpawn , ceva care are legatura cu Hospital si posteaza ce ai gasit si o sa iti spun ce sa faci ca sal ai normal.

  3. [pawn]

    //1--------------

    //inlocuieste

    if(PlayerInfo[playerid][pPcarkey] == 999)

    //cu

    if(PlayerInfo[playerid][pPcarkey] == 999 || PlayerInfo[playerid][pPcarkey2] == 999)

    //2--------------

    //inlocuieste

    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey])

    //cu

    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey] || GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2])

    [/pawn]

  4. Cand scriptez in GM "gamemode" sunt 2 fisiere.. ".amx" si "pawno"...si cand scriptez in GM Se sterge fisierul .amx nu stiti dece?

    [move]Pleaze[/move]

    Ioi, tu scriptezi? Da... sigur. Daca nu dai F5 nu are cum sa apara si fisierul .amx.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.