little problem
#7

its more or less like you've done this (but i doubt with this callback)
incorrect
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}
else if(CP[playerid] == 111)//TCC
CORECT
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(CP[playerid] == 110)//TCC
    {
        //do something
    }
    else if(CP[playerid] == 111)//TCC
    {
        //do something else
    }
    return 1;
}
Obviously you dont want it in OnPlayerDisconnect but you should get the picture.

Check this wiki page on control structures https://sampwiki.blast.hk/wiki/Control_Structures
Learn about something before trying it is my advice.

BTW check your inbox
Reply


Messages In This Thread
little problem - by pantelimonfl - 23.08.2010, 10:39
Re: little problem - by Hiddos - 23.08.2010, 10:40
Re: little problem - by iggy1 - 23.08.2010, 10:41
Re: little problem - by pantelimonfl - 23.08.2010, 10:46
Re: little problem - by iggy1 - 23.08.2010, 10:49
Re: little problem - by pantelimonfl - 23.08.2010, 11:08
Re: little problem - by iggy1 - 23.08.2010, 11:11
Re: little problem - by pantelimonfl - 23.08.2010, 11:19
Re: little problem - by iggy1 - 23.08.2010, 11:21
Re: little problem - by Zh3r0 - 23.08.2010, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)