GivePlayerWeapon...
#1

HI....

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/chief186", true) == 0) {
        // Set the player's skin to ID 277, which is a fireman.
        SetPlayerSkin(playerid, 275);
        GivePlayerWeapon(playerid, COLOR_GOLD, 42, 10000);
        SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Chief.");
        return 1;
    }
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/chief186", true) == 0) {
        // Set the player's skin to ID 277, which is a fireman.
        SetPlayerSkin(playerid, 275);
        GivePlayerWeapon(playerid, COLOR_GOLD, 42, 10000);
        SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Chief.");
        return 1;
    }
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/chief186", true) == 0) {
        // Set the player's skin to ID 277, which is a fireman.
        SetPlayerSkin(playerid, 275);
        GivePlayerWeapon(playerid, COLOR_GOLD, 42, 10000);
        SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Chief.");
        return 1;
    }
got this warn...
Quote:

C:\Documents and Settings\Luca\Desktop\BaseScript\filterscripts\ski ns.pwn(8 : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luca\Desktop\BaseScript\filterscripts\ski ns.pwn(95) : warning 202: number of arguments does not match definition

please help!
Reply


Messages In This Thread
GivePlayerWeapon... - by Gooday - 02.12.2011, 15:24
Re: GivePlayerWeapon... - by Kaperstone - 02.12.2011, 15:28
Respuesta: GivePlayerWeapon... - by iKeN - 02.12.2011, 15:28
Re: GivePlayerWeapon... - by AstonDA-G - 02.12.2011, 15:35
Re: Respuesta: GivePlayerWeapon... - by Kaperstone - 02.12.2011, 15:36
Respuesta: GivePlayerWeapon... - by iKeN - 02.12.2011, 15:56
Re: GivePlayerWeapon... - by GrInDzO - 06.04.2012, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)