[New problem (read my last post)]GetInfo warnings
#1

Hey, I'm trying to make this getinfo command, but I've got these 2 warnings and i don't know what they mean..

Code:

pawn Код:
dcmd_getinfo(playerid,params[])
{
    new giveplayerid = strval(params),string[128];
    if(sscanf(params,"u",giveplayerid)) return SendClientMessage(playerid,COLOR_WHITE,"Usage: /getinfo (id)");
    if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"ERROR: Invalid ID.");
   
    format(string, sizeof(string),"Player Info :: %s(%d)",ReturnPlayerName(giveplayerid),giveplayerid);
    SendClientMessage(playerid,COLOR_DARKRED,string);
    format(string, sizeof(string),"Health %d | Armour %d | Cash %d",GetPlayerHealth(giveplayerid),GetPlayerArmour(giveplayerid),GetPlayerMoney(giveplayerid)); // Line 745
    SendClientMessage(playerid,COLOR_ORANGE,string);
    return 1;
}
Warnings
Код:
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(745) : warning 202: number of arguments does not match definition
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(745) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
[New problem (read my last post)]GetInfo warnings - by _Vortex - 19.09.2009, 20:54
Re: GetInfo warnings - by brett7 - 19.09.2009, 20:58
Re: GetInfo warnings - by _Vortex - 19.09.2009, 20:59
Re: GetInfo warnings - by [XST]O_x - 19.09.2009, 21:00
Re: GetInfo warnings - by Joe Staff - 19.09.2009, 21:03
Re: GetInfo warnings - by _Vortex - 19.09.2009, 21:07
Re: GetInfo warnings - by brett7 - 19.09.2009, 21:07
Re: GetInfo warnings - by _Vortex - 19.09.2009, 21:28
Re: GetInfo warnings - by Badger(new) - 19.09.2009, 21:41
Re: [New problem (read my last post)]GetInfo warnings - by _Vortex - 19.09.2009, 21:51

Forum Jump:


Users browsing this thread: 5 Guest(s)