Stats in Dialog
#5

Quote:
Originally Posted by [MM]RoXoR[FS]
View Post
I just copied your /stats code and inseted a dialog instead of SendClientMessage.
Was your code working fine earlier?

Here is fix, it was smiley BB Code causing error.

Edit this statement in your code.
pawn Code:
format(statstring, sizeof(statstring), "Kills: [%d] \nDeaths: [%d] \nRatio: [%0.2f] \nMoney: [$%d] \nTime: [%d] hrs [%d] mins [%d] secs ", AccInfo[player1][Kills], AccInfo[player1][Deaths], Float:AccInfo[player1][Kills]/Float : pDeaths,GetPlayerMoney(player1), h, m, s);
Yep its working fine no error after compiling.

anyway your code above gives me an error.

Quote:

D:\New Folder\Torreto Racing(1)\filterscripts\LuxAdmin.pwn(1506) : error 017: undefined symbol "Float"
D:\New Folder\LuxAdmin.pwn(1506) : error 029: invalid expression, assumed zero
D:\New Folder\LuxAdmin.pwn(1506) : warning 215: expression has no effect
D:\New Folder\LuxAdmin.pwn(1506) : warning 215: expression has no effect
D:\New Folder\LuxAdmin.pwn(1506) : warning 215: expression has no effect
D:\New Folder\LuxAdmin.pwn(1506) : warning 215: expression has no effect
D:\New Folder\LuxAdmin.pwn(1506) : error 001: expected token: ";", but found ")"
D:\New Folder\LuxAdmin.pwn(1506) : fatal error 107: too many error messages on one line

Reply


Messages In This Thread
Stats in Dialog - by kbalor - 22.06.2012, 07:50
Re: Stats in Dialog - by [MM]RoXoR[FS] - 22.06.2012, 08:22
Re: Stats in Dialog - by kbalor - 22.06.2012, 09:11
Re: Stats in Dialog - by [MM]RoXoR[FS] - 22.06.2012, 09:17
Re: Stats in Dialog - by kbalor - 22.06.2012, 10:04
Re: Stats in Dialog - by nilanjay - 22.06.2012, 10:08
Re: Stats in Dialog - by kbalor - 22.06.2012, 11:00
Re: Stats in Dialog - by kbalor - 22.06.2012, 16:32
Re: Stats in Dialog - by kbalor - 22.06.2012, 16:35
Re: Stats in Dialog - by Emmet_ - 22.06.2012, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)