[Ajuda] Preciso de Ajuda com Meu Comando !!
#1

Код:
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(967) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
PHP код:
if(strcmp(cmdtext,"/mudar",true) == 0)
{
    new 
pname[MAX_PLAYER_NAME];
    new 
string [256];
    
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
    
format(stringsizeof(string), "{006400}[INFO]: {FF1493}%s Foi Mudar de Skin!! {FFFF00}( /mudar)"pname);
    
SendClientMessageToAll(Verde_Florestastring);
    
ForceClassSelection(playerid1);
    return 
1;

Criei esse comando para voltar a tela de seleзгo de skin, mais ta dando esse Warning.
Reply
#2

pawn Код:
if(strcmp(cmdtext,"/mudar",true) == 0)
{
    new pname[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "{006400}[INFO]: {FF1493}%s Foi Mudar de Skin!! {FFFF00}( /mudar)", pname);
    SendClientMessageToAll(Verde_Floresta, string);
    ForceClassSelection(playerid, 1);
    return 1;
}
sizeof = Damanho De: pnome

Ou

24
pawn Код:
new pname[24];
GetPlayerName(playerid, pname, 24);
Reply
#3

ainda ta no mesmo
Reply
#4

pawn Код:
ForceClassSelection(playerid);
Passou batido...
Reply
#5

haha funfou vlw +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)