26.01.2011, 10:09
I think you set the member if() wrong, shouldn't it be like this:
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == cp[0])
{
if(Member[playerid] == 4)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Organisation:SAPD", "WIP","Ok","");
}
}
if(checkpointid == cp[1])
{
if(Member[playerid] == 2)
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Organisation:SWAT", "WIP","Ok","");
}
}
return 1;
}