Help me to Fix this problem please.
#3

Oh thanks.
I added a score array.
It gives me 2 warnings:
PHP код:
public OnPlayerConnect(playerid)
{
    new 
MSG[250];
    new 
Name[MAX_PLAYER_NAME];
    
GetPlayerName(playerid,Name,sizeof(Name));
    new 
Ip[256];
    
GetPlayerIp(playerid,Ip,sizeof(Ip));
    new 
score;
    
GetPlayerScore(playerid,score,sizeof(score));//That's the warning line.
    
format(MSG,sizeof(MSG),"Player %s | IP: %s | Score: %s has entered in the server"NameIpscore);
    
SendClientMessageToAll(GREEN,MSG);
    return 
1;

Код:
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(50) : warning 202: number of arguments does not match definition
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(50) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
Help me to Fix this problem please. - by Magic_Time - 04.11.2012, 16:40
Re: Help me to Fix this problem please. - by tyler12 - 04.11.2012, 16:42
Respuesta: Help me to Fix this problem please. - by Magic_Time - 04.11.2012, 16:47
Re: Help me to Fix this problem please. - by YoYo123 - 04.11.2012, 16:48
Re: Help me to Fix this problem please. - by [KHK]Khalid - 04.11.2012, 16:50
Re: Help me to Fix this problem please. - by Dawnz - 04.11.2012, 16:52
Respuesta: Help me to Fix this problem please. - by Magic_Time - 04.11.2012, 16:53
Re: Help me to Fix this problem please. - by Dawnz - 04.11.2012, 16:58
Re: Help me to Fix this problem please. - by [KHK]Khalid - 04.11.2012, 16:59
Respuesta: Help me to Fix this problem please. - by Magic_Time - 04.11.2012, 16:59

Forum Jump:


Users browsing this thread: 7 Guest(s)