23.08.2010, 11:11
its more or less like you've done this (but i doubt with this callback)
incorrect
CORECT
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
incorrect
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
else if(CP[playerid] == 111)//TCC
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(CP[playerid] == 110)//TCC
{
//do something
}
else if(CP[playerid] == 111)//TCC
{
//do something else
}
return 1;
}
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