Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddToDialog( playerid, id ) {
- for(new i; i < MAX_DIALOG_ITEMS; i++) {
- if(DialogItem[ playerid ][ i ] == -1) {
- DialogItem[ playerid ][ i ] = id;
- break;
- }
- }
- }
- ResetDialogItems( playerid ) {
- for(new i; i < MAX_DIALOG_ITEMS; i++) DialogItem[ playerid ][ i ] = -1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement