SA-MP Forums Archive
[Ajuda] onde ta o erro ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] onde ta o erro ? (/showthread.php?tid=481417)



onde ta o erro ? - Dieguinho - 15.12.2013

ajudar waning

PHP код:
if(PRESSED(GEAR_UP))
       {
            if(
vGear[playerid] == && GetPlayerSpeed2(playerid) == 0)
                  {
                 
GetVehicleParamsEx(vehicleenginelightsalarmdoorsbonnetbootobjective);
                   
SetVehicleParamsEx(vehicle1lightsalarmdoorsbonnetboot0);
                
vGear[playerid] = 1;
                
SetPlayerSpeedCap(playerid0.1);
                     
TextDrawSetString(playeridPlayerInfo[playerid][gText23], "~r~1");
                
KillSpeed SetTimerEx("SpeedCheck"20001"i"playerid);
//==============================================================
c:\gamemodes\BEG.pwn(36726) : warning 213tag mismatch
c
:\gamemodes\BEG.pwn(36726) : warning 213tag mismatch
c
:\gamemodes\BEG.pwn(36726) : warning 202number of arguments does not match definition
//==============================================================
Linha > (36726)
TextDrawSetString(playeridPlayerInfo[playerid][gText23], "~r~1"); 



Re: onde ta o erro ? - Input - 15.12.2013

pawn Код:
TextDrawSetString(PlayerInfo[playerid][gText23], "~r~1");



Re: onde ta o erro ? - Dieguinho - 15.12.2013

Quote:
Originally Posted by Input
Посмотреть сообщение
pawn Код:
TextDrawSetString(PlayerInfo[playerid][gText23], "~r~1");
mesma coisa

c:\gamemodes\BEG.pwn(36726) : warning 213: tag mismatch


Re: onde ta o erro ? - Input - 15.12.2013

Quote:
Originally Posted by Dieguinho
Посмотреть сообщение
mesma coisa

c:\gamemodes\BEG.pwn(36726) : warning 213: tag mismatch
Manda a variavel gText23


Re: onde ta o erro ? - Dieguinho - 15.12.2013

e esta aki

PHP код:
#define gText23User
#if defined gText19User
PlayerText:gText23,
#endif 



Re: onde ta o erro ? - Input - 15.12.2013

pawn Код:
Text:gText23



Re: onde ta o erro ? - Dieguinho - 15.12.2013

nгo posso mudar tem quer ser essa variavel ai porque bugar as textdraw

tenho que dar outrou jeito


tem quer ser a

assim


PHP код:
 PlayerInfo[playerid][gText23] = CreatePlayerTextDraw(playerid,554.000000284.000000"0");
    
PlayerTextDrawBackgroundColor(playeridPlayerInfo[playerid][gText23], 255);
    
PlayerTextDrawFont(playeridPlayerInfo[playerid][gText23], 2);
    
PlayerTextDrawLetterSize(playeridPlayerInfo[playerid][gText23], 0.5199992.599998);
    
PlayerTextDrawColor(playeridPlayerInfo[playerid][gText23], -1);
    
PlayerTextDrawSetOutline(playeridPlayerInfo[playerid][gText23], 1);
    
PlayerTextDrawSetProportional(playeridPlayerInfo[playerid][gText23], 1); 



Re: onde ta o erro ? - Input - 15.12.2013

pawn Код:
PlayerTextDrawSetString(playerid, PlayerInfo[playerid][gText23], "~r~1");



Re: onde ta o erro ? - Dieguinho - 15.12.2013

deu certo vlw !!

++ [Rep]