SA-MP Forums Archive
Help: warning's :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help: warning's :( (/showthread.php?tid=158985)



Help: warning's :( - hab2ever - 11.07.2010

Hey why i got this warning's?

Command:
Quote:

if (strcmp("/gmx", cmdtext, true, 10) == 0)
{
if(Player_A_Level[playerid] == 1)
{
OnFilterScriptExit();
SetTimer("RCON Command Sent");
}else SendClientMessage(playerid, red, "Error: You must be need enough level to use this command");
return 1;
}

Warnings:
Quote:

C:\Documents and Settings\Hab\Desktop\H_Admin\filterscripts\H_Admin .pwn(182) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Hab\Desktop\H_Admin\filterscripts\H_Admin .pwn(182) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Help please
how can i fix xD


Re: Help: warning's :( - oliverrud - 11.07.2010

https://sampwiki.blast.hk/wiki/SetTimer
What''s up with the RCON Command Sent in the SetTimer?
Anyways you did it wrong it needs both time and so on, after all it's a timer, aren't it ?