[HELP] Error into PlayersCommand
#1

i got this :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[500];
   

    cmd = strtok(cmdtext);

    if(strcmp(cmdtext, "/help", true) == 0) {
        SendClientMessage(playerid, 0xFF9900AA, "|-------------------------------------------------------------------------|");
        SendClientMessage(playerid, 0x33CCFFAA, ".:DAWN OF THE STUNTS - HELP:.");
        SendClientMessage(playerid, 0x33CCFFAA, "/register [password] : Keep your account's data(You need to /login too).");
        SendClientMessage(playerid, 0x33CCFFAA, "/pm [playerid] [message] : Send a Private Message to a user.");
    SendClientMessage(playerid, 0x33CCFFAA, "/telelist : All Teleport Commands.");
        SendClientMessage(playerid, 0xFF9900AA, "|-------------------------------------------------------------------------|");
 
    }
        if(strcmp(cmdtext, "/tel", true) == 0) {
        SendClientMessage(playerid, 0xFF9900AA, "|-------------------------------------------------------------------------|");
        SendClientMessage(playerid, 0x33CCFFAA, ".:DAWN OF THE STUNTS - Teleports:.");
        SendClientMessage(playerid, 0x33CCFFAA, "/bmx /air1 /airjump1");
        SendClientMessage(playerid, 0xFF9900AA, "|-------------------------------------------------------------------------|");
 
    }

   
}
And i got this error :

C:\Documents and Settings\Daniel\Desktop\SAMP SERVER\gamemodes\orrp.pwn(146) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Daniel\Desktop\SAMP SERVER\gamemodes\orrp.pwn(157) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.


Why?
Reply


Messages In This Thread
[HELP] Error into PlayersCommand - by Smiths - 12.09.2009, 23:26
Re: [HELP] Error into PlayersCommand - by Correlli - 12.09.2009, 23:30
Re: [HELP] Error into PlayersCommand - by LuxurioN™ - 12.09.2009, 23:45
Re: [HELP] Error into PlayersCommand - by Smiths - 13.09.2009, 00:06

Forum Jump:


Users browsing this thread: 1 Guest(s)