View Single Post
Old 02/09/2013, 11:36 AM   #3
BoSs_S
Huge Clucker
 
BoSs_S's Avatar
 
Join Date: Mar 2011
Posts: 484
Reputation: 5
Default Re: Putin ajutor /v plate

Am Facut asa
pawn Code:
else if(strcmp(x_nr,"plate",true) == 0)
            {
              if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcheiemasina] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && PTP(5.0,playerid,1312.4531,-2544.8621,15.3839))
              {
                    new Float:x,Float:y,Float:z,Float:ang;
                    new carid1;
                    GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
                    GetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
                    PutPlayerInVehicle(playerid, carid1, 0);
                    ShowPlayerDialog(playerid,171,DIALOG_STYLE_INPUT,"{EE7777}Masina Slot 1","{00CC66}Scrie numarul masinii mai jos.","Yes","Cancel");
                    return 1;
              }
              else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcheiemasina2] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && PTP(5.0,playerid,1305.8207,-2545.5112,15.4585))
              {
                    new Float:x,Float:y,Float:z,Float:ang;
                    new carid1;
                    GetVehiclePos(GetPlayerVehicleID(playerid),x,y,z);
                    GetVehicleZAngle(GetPlayerVehicleID(playerid),ang);
                    PutPlayerInVehicle(playerid, carid1, 0);
                    ShowPlayerDialog(playerid,171,DIALOG_STYLE_INPUT,"{EE7777}Masina Slot 2","{00CC66}Scrie numarul masinii mai jos.","Yes","Cancel");
                    return 1;
              }
__________________
[IMG]
BoSs_S is offline