Help needed
#7

Quote:
Originally Posted by yusei
Посмотреть сообщение
try to change juste the samp function

PHP код:
dcmd_stats(playerid,params[])
{
    
#pragma unused params
    
new statz[1024],coordsstring[512];
    
format(statzsizeof(statz),"Score: %d\nBank: %d\nMoney: $%d\nAdmin: %d\nArmy: %d\nSWAT: %d\n",GetPlayerScore(playerid), BankCash[playerid], GetPlayerMoney(playerid), AdminLevel[playerid], CanUseArmy[playerid], CanUseSWAT[playerid]);
     
format(coordsstringsizeof(coordsstring), "» Regular: %d\nTerrorLVL: %d\nRobbberLVL: %d\nC4: %d\nRope: %d"IsRegularPlayer[playerid], TerroristSkill[playerid], RobSkill[playerid], HasC4[playerid], HasRope[playerid]);
     
strcat(statz,coordsstring);
    
ShowPlayerDialog(playerid,644,DIALOG_STYLE_MSGBOX,"Stats",statz,"Close","");
    return 
1;

Still these ;/

PHP код:
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(12951) : error 029invalid expressionassumed zero
C
:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(12951) : warning 215expression has no effect
C
:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(12951) : error 001expected token";"but found "]"
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(12951) : error 029invalid expressionassumed zero
C
:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(12951) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Edit THANKS it worked :* New erros were on another lane got that fixed
Reply


Messages In This Thread
Help needed - by weedxd - 16.05.2014, 16:35
Re : Help needed - by yusei - 16.05.2014, 16:41
Re: Re : Help needed - by weedxd - 16.05.2014, 16:44
Re: Help needed - by Konstantinos - 16.05.2014, 16:51
Re: Help needed - by weedxd - 16.05.2014, 16:54
Re : Help needed - by yusei - 16.05.2014, 17:02
Re: Re : Help needed - by weedxd - 16.05.2014, 17:05

Forum Jump:


Users browsing this thread: 3 Guest(s)