What can i do here
#1

Код:
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Nuevo.pwn(315) : error 035: argument type mismatch (argument 2)
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Nuevo.pwn(323) : error 035: argument type mismatch (argument 2)
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Nuevo.pwn(326) : warning 225: unreachable code
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Nuevo.pwn(967) : warning 203: symbol is never used: "IsNumeric"
C:\Users\Jaua\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Nuevo.pwn(967) : warning 203: symbol is never used: "ReturnUser"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
PHP код:
public OnPlayerConnect(playerid)
{
    new 
gPlayerAccount[MAX_PLAYERS];
    new 
plname[MAX_PLAYER_NAME];
    new 
string[MAX_PLAYER_NAME];
    
//gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0;
    //gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0;
    
format(stringsizeof(string), "Users/%s.ini"plname);
    if(
fexist(string))
    {
        
gPlayerAccount[playerid] = 1;
        
SendClientMessage(playeridCOLOR_YELLOW"SERVER: That nick is registered, please log in");
        
SendClientMessage(playeridCOLOR_LIGHTRED"NOTE: You MUST log in before spawning!");
        return 
1;
    }
    else
    {
        
gPlayerAccount[playerid] = 0;
        
SendClientMessage(playeridCOLOR_LIGHTRED"NOTE: You MUST register before spawning!");
        
SendClientMessage(playerid,COLOR_YELLOW,"You dont have an account. Please register by using /register [password]");
        return 
1;
    }
    return 
1;

also i dont have the line 967, cna u help me please?
Reply


Messages In This Thread
What can i do here - by Jaua10 - 04.09.2017, 20:20
Respuesta: What can i do here - by Miguelch1312 - 04.09.2017, 20:36
Re: What can i do here - by Jaua10 - 04.09.2017, 20:51
Re: What can i do here - by Jaua10 - 04.09.2017, 21:38
Re: What can i do here - by Paulice - 04.09.2017, 22:04
Re: What can i do here - by Jaua10 - 04.09.2017, 22:07
Re: What can i do here - by Paulice - 04.09.2017, 22:11
Re: What can i do here - by Jaua10 - 04.09.2017, 22:14
Re: What can i do here - by Paulice - 04.09.2017, 22:19
Re: What can i do here - by Jaua10 - 04.09.2017, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)