MegatroNâ„¢ wrote on October 8, 2017, 6:46 pm:
Moze link od nekih PHP zajednica u vezi pomoci za PHP? 🙂
Imas konkretno pitanje ili su ti potrebne konsultacije? Svakako preporucujem StackOverflow
Naš forum je uspješno migriran na novu platformu. Svi vaši podaci, računi i sadržaj su prebačeni na GTABLKN.
Prevuci gore ili dole za pozicioniranje
Izgleda da John_Riak trenutno ne radi ništa
new JobNames[]
#define DIALOG_WEAPONS 3
ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapons", "AK47\nM4\nSniper Rifle", "Close");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_WEAPONS)
{
if(response) // If they clicked 'Select' or double-clicked a weapon
{
// Give them the weapon
switch(listitem)
{
case 0: GivePlayerWeapon(playerid, WEAPON_DEAGLE, 14); // Give them a desert eagle
case 1: GivePlayerWeapon(playerid, WEAPON_AK47, 120); // Give them an AK-47
case 2: GivePlayerWeapon(playerid, WEAPON_SHOTGSPA, 28); // Give them a Combat Shotgun
}
}
return 1; // We handled a dialog, so return 1. Just like OnPlayerCommandText.
}
return 0; // You MUST return 0 here! Just like OnPlayerCommandText.
}Nivo 2
4 / 20 otključano