04.02.2014, 18:58
Hi!
I recently scripted a bit with strings in a dialog..
But I get some warnings:
Here's the code:
Doesn't it work to have 3 strings in a dialog or?...
I recently scripted a bit with strings in a dialog..
But I get some warnings:
Код:
D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(2517) : warning 202: number of arguments does not match definition D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(2517) : warning 202: number of arguments does not match definition D:\Davids\Scripting\Server Las Venturas TDM mix\LV.pwn(2517) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.
pawn Код:
format(stringScore, sizeof(stringScore), "Your score is: %i",GetPlayerScore(playerid));
format(stringMoney, sizeof(stringMoney), "Money: %i",GetPlayerMoney(playerid));
format(stringWanted, sizeof(stringWanted), "Wanted level: %i", GetPlayerWantedLevel(playerid));
ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Stats","test",stringScore,stringMoney,stringWanted, "Ok", "");