Jump to content

TzAkS

Membru
  • Posts

    1,144
  • Joined

  • Last visited

Posts posted by TzAkS

  1. C:\Users\Tzaks\Desktop\gm.pwn(447) : error 025: function heading differs from prototype

    C:\Users\Tzaks\Desktop\gm.pwn(2428) : error 004: function "split" is not implemented

    C:\Users\Tzaks\Desktop\gm.pwn(2577) : error 025: function heading differs from prototype

    C:\Users\Tzaks\Desktop\gm.pwn(2578) : error 021: symbol already defined: "GetDistanceBetweenPlayers"

    C:\Users\Tzaks\Desktop\gm.pwn(2582) : warning 213: tag mismatch

    C:\Users\Tzaks\Desktop\gm.pwn(2586) : warning 213: tag mismatch

    C:\Users\Tzaks\Desktop\gm.pwn(4225) : error 004: function "SetPlayerToTeamColor" is not implemented

    C:\Users\Tzaks\Desktop\gm.pwn(4250) : error 004: function "SetPlayerToTeamColor" is not implemented

    C:\Users\Tzaks\Desktop\gm.pwn(4548) : error 004: function "OnPropUpdate" is not implemented

    C:\Users\Tzaks\Desktop\gm.pwn(4615) : error 004: function "OnPropUpdate" is not implemented

    C:\Users\Tzaks\Desktop\gm.pwn(6575) : error 004: function "SendAdminMessage" is not implemented

    Linia 447  forward Float:GetDistanceBetweenPlayers(p1,p2);
    Linia 2428  	        split(str, load, '|');
    Linia 2577   public Float:GetDistanceBetweenPlayers(p1,p2)
    Linia 2578  { 
    Linia 2582  		return -1.00;   
    Linia 2586   return	floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
    Linia 4225  				SetPlayerToTeamColor(i);
    Linia 4250   				SetPlayerToTeamColor(i);
    Linia 4548	OnPropUpdate();
    Linia 4615  	OnPropUpdate();
    Linia 6575     SendAdminMessage(COLOR_LIGHTRED, str);

  2. Pune asta sus

    [pawn]#define CAR_AMOUNT 700[/pawn]

    Sau pune comanda asta

    [pawn]if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) // by Ellis

    {

        if(IsPlayerConnected(playerid))

        {

            if(PlayerInfo[playerid][pAdmin] < 3)

    {

        SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command!");

        return 1;

    }

    new bool:unwanted[CAR_AMOUNT];

    for(new player=0; player<MAX_PLAYERS; player++)

        {

                if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }

        }

    for(new car = 1; car <= 268; car++)

    {

    if(!unwanted[car]) SetVehicleToRespawn(car);

    }

    GetPlayerName(playerid, sendername, sizeof(sendername));

    format(string, sizeof(string), "SERVER: All unused cars respawned by %s.", sendername);

    BroadCast(COLOR_WHITE,string);

    }

    return 1;

    }[/pawn]

×
×
  • 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.