Help me to Fix this problem please.
#1

Hi, Can someone help me to fix this problem, Sorry, I'm newbie at scripting.

PHP код:
public OnPlayerConnect(playerid)
{
    new 
MSG[250];
    new 
Name[MAX_PLAYER_NAME];
    
GetPlayerName(playerid,Name,sizeof(Name));
    new 
Ip;
    
GetPlayerIp(playerid,Ip,sizeof(Ip));
    
format(MSG,sizeof(MSG),"Player %s | IP: %s has entered in the server"NameIp);
    
SendClientMessageToAll(GREEN,MSG);
    return 
1;

It gives me 2 errors:

G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)
G:\PAWN Stuff\SA-MP Server\filterscripts\Arrays.pwn(4 : error 035: argument type mismatch (argument 2)
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: 6 Guest(s)