Help: warning's :(
#1

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
Reply
#2

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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)