new rulespickup, telespickup, helppickup; // A mód elejére.public OnGameModeInit(){rulespickup = CreatePickup(1239, 1, x, y, z, -1);telespickup = CreatePickup(1239, 1, x, y, z, -1);helppickup = CreatePickup(1239, 1, x, y, z, -1);return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == rulespickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Szabályok\",\"Szabály\\nszabály\",\"Bezár\",\"\"); if(pickupid == telespickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Teleportok\",\"Teleport\\nTeleport\",\"Bezár\",\"\"); if(pickupid == helppickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Segítség\",\"Segítség\\nsegítség\",\"Bezár\",\"\"); return 1;}
Egy pillanat.[/quote]oké
new rulespickup, telespickup, helppickup; // A mód elejére.public OnGameModeInit(){rulespickup = CreatePickup(1239, 1, x, y, z, -1);telespickup = CreatePickup(1239, 1, x, y, z, -1);helppickup = CreatePickup(1239, 1, x, y, z, -1);return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == rulespickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Szabályok\",\"Szabály\\nszabály\",\"Bezár\",\"\"); if(pickupid == telespickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Teleportok\",\"Teleport\\nteleport\",\"Bezár\",\"\"); if(pickupid == helppickup) ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,\"Segítség\",\"Segítség\\nsegítség\",\"Bezár\",\"\"); return 1;}