Jump to content

Cosmin.

Membru
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Cosmin.

  1. Problema intalnita (descriere): AttachTrailerToVehicle, pun corect, trailer car definita si spawnata + new vehicleid = GetPlayerVehicleID(playerid);
    Ero(area / rile) / warning-(ul / urile):  error 035: argument type mismatch (argument 1)
    Liniile de cod / sursa / script-ul(obligatoriu): http://pastebin.com/fQxk05Qq
    Imagini / Video (optional): -
    Ati incercat sa rezolvati singur?: Da, am cautat dar degeaba.

     

    PS: nu am dat toata comanda, am mai multe lucruri unice si definite acolo..

  2.             new id,giveplayer[30],string[100];
               if(IsACop(playerid) || PlayerInfo[playerid][pLeader] || PlayerInfo[playerid][pMember] == 11) // Asta o poti sterge, depinde.
                {
                    if(sscanf(params, "u",id)) return SendClientMessage(playerid, 0xFFFFFFFF, "Tasteaza: /find <Name/Playerid>");
                    if(IsPlayerConnected(id))
                    {
                        if(id != INVALID_PLAYER_ID)
                        {
                            if(id == playerid) return SendClientMessage(playerid, 0xFFB870FF, "You cannot find yourself.");
                            if(togfind[id] == 1) return SCM(playerid,COLOR_WHITE,"Player not connected.");
                            UsedFind[playerid] = 1;
                            GetPlayerName(id, giveplayer, sizeof(giveplayer));
                            new Float:X,Float:Y,Float:Z;
                            GetPlayerPos(id, X,Y,Z);
                            SetPlayerCheckpoint(playerid, X,Y,Z, 3.5);
                            CP[playerid] = 43;
                            targetfind[playerid] = id;
                            if(IsPlayerInArea(id, -2997.40, -1115.50, -1213.90, 1659.60))

     

    In loc de          

     

     new name[MAX_PLAYER_NAME];
                GetPlayerName(targetID, name, MAX_PLAYER_NAME);
                FindTime[playerid] = 10000;
                PlayerFind[playerid] = targetID;
                new Float: x, Float: y, Float: z;
                GetPlayerPos(targetID,x,y,z);
                new Float: fDistance = GetPlayerDistanceFromPoint(playerid, x,y,z);
                format(szMessage, 256, "Server has set you a checkpoint to %s (%d). Distance: %.0f meters.",name, targetID, fDistance);
                SCM(playerid,COLOR_YELLOW, szMessage);
                SetPlayerCheckpoint(playerid,x,y,z,3.0);

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