26.01.2011, 10:06
whats wrong with this? compiles without errors:
i can see the cp
Код:
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; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { SendClientMessage(playerid, red, "BLAH"); } return 0; } if(dialogid == 1) { if(response) { SendClientMessage(playerid, red, "BLAH"); } return 0; } return 0; }