-
Posts
73 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
News
Documentation
Everything posted by Cost1n
-
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case DIALOG_REGISTER: { if(!response) return Kick(playerid); if(strlen(inputtext) < 6 || strlen(inputtext) > 32) format(szMessage, -1, "Hello %s. Welcome to server!", szPlayerName); SendClientMessage(playerid, 0x844185FF, szMessage); SendClientMessage(playerid, -1, "You aren't registered yet. Please enter your desired password in the dialog box to register."); ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "SERVER: Registration", "{844185}Hello.\n\{FFFFFF}Please enter your desired password below!", "Register", "Cancel"); /*format(string, sizeof(string),"{FFFFFF}Please enter your desired password below!",GetName(playerid)); ShowPlayerDialog(playerid, DIALOG_REGISTER,DIALOG_STYLE_PASSWORD, "SERVER: Registration", string, "Register", "Cancel");*/ } else { WP_Hash(playerVariables[playerid][ppassword], 129, inputtext); format(szQuery, sizeof(szQuery), "INSERT INTO `users` (name, password, IP) VALUES ('%s', '%s', '%s')", GetName(playerid), playerVariables[playerid][ppassword], playerVariables[playerid][pip]); mysql_function_query(handle, szQuery, true, "insertAccount", "ii", THREAD_NO_RESULT, playerid); format(szMediumString, 156, "New account: %s (%d).", szPlayerName, playerid); //submitToAdmins(COLOR_RED, szMediumString, 1); SendClientMessage(playerid, -1, szMediumString); ShowPlayerDialog(playerid, DIALOG_LANGUAGE, DIALOG_STYLE_MSGBOX, "SERVER: Language", "Alege limba in care vor fi afisate mesajele.\nChoose the language that you speak.", "Romana", "English"); } } case DIALOG_LANGUAGE: { if(response) { playerVariables[playerid][pLanguage] = 2; SendClientMessage(playerid, -1, "Limba setata: romana.", "[EN] To set the language to English, use /en."); } else { playerVariables[playerid][pLanguage] = 1; SendClientMessage(playerid, -1, "Language set to english.", "[RO] Pentru a seta limba romana foloseste /ro."); } ShowPlayerDialog(playerid, DIALOG_SEX, DIALOG_STYLE_LIST, "Alege sexul caracterului", "Barbat\nFemeie", "Alege"); SendClientMessage(playerid, 0xFFFB00FF, "Alege sexul caracterului tau."); } case DIALOG_SEX: { switch(listitem) { case 0: { SendClientMessage(playerid, 0xFFFB00FF, "Sex setat: barbat."); playerVariables[playerid][psex] = 1; } case 1: { SendClientMessage(playerid, 0xFFFB00FF, "Sex setat: femeie."); playerVariables[playerid][psex] = 2; } } ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, "Varsta", "Scrie varsta caracterului tau:", "Ok"); } return 1; } C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(237) : warning 209: function "OnDialogResponse" should return a value C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(238) : error 010: invalid function or declaration Dar nu inteleg de ce. C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(242) : error 010: invalid function or declaration Toate astea dau eroare la: case DIALOG_SEX: { switch(listitem) { case 0: { SendClientMessage(playerid, 0xFFFB00FF, "Sex setat: barbat."); playerVariables[playerid][psex] = 1; } case 1: { SendClientMessage(playerid, 0xFFFB00FF, "Sex setat: femeie."); playerVariables[playerid][psex] = 2; } } ShowPlayerDialog(playerid, DIALOG_AGE, DIALOG_STYLE_INPUT, "Varsta", "Scrie varsta caracterului tau:", "Ok"); } C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(248) : error 010: invalid function or declaration C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(249) : error 010: invalid function or declaration C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(250) : error 010: invalid function or declaration C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(254) : error 010: invalid function or declaration C:\Users\Costin\Desktop\0.3\gamemodes\gm.pwn(261) : error 010: invalid function or declaration
-
Hai frate-miu posteaza-l.
-
Si mai ales de la ce gamemode a inceput Ksenon sa lucreze la T4P cu adevarat?
-
Deci pana la urma de la ce gamemode e inceput?
-
Nu chiar pe degeaba dar, oricum o nu o sa tina si tot o sa fie postat..asa se ajunge, si acu asta am termint.
-
Stie, oricui ofera bani :), oricum cine il cumpara da bani degeaba deoarece daca vrea sa isi deschida server o sa aiba 0 playeri, nimanui nu-i place un server care copiaza un alt server mai mare..
-
il vinde/il posteaza, tot pe net ajunge.
-
Pana la urma il mai vinzi sau il postezi? Ca esti cam inactiv, si ma gandesc ca daca tot numai lucrezi la el macar posteaza-l, fa ceva cu bunatatea asta de gamemode
-
E pe naiba T4P, e un rahat de bigzone sau saints network editat, are o groaza de buguri la /cars si la multe..
-
proiect OldSamp de la 0 by nobilzeus
Cost1n replied to nobilzeusAdv's topic in Imagini şi Videoclipuri
Si cand il postezi? -
nephrite Gamemode Ruby Nephrite[By DrooM] + Panel
Cost1n replied to Ștefăniță's topic in Gamemode-uri
Inseamna ca compilezi cu alt pawno, descarca fisierele de pe sa-mp.com , si pune fisierele .exe , iar apoi compileaza-l ca o sa-ti mearga. -
Ruby v.2 / HARD-GAMING / WE BURN YOU DOWN
Cost1n replied to Dani3l.'s topic in Imagini şi Videoclipuri
daca tot l-ai abandonat poti si tu sa il postezi macar? -
Ruby v.2 / HARD-GAMING / WE BURN YOU DOWN
Cost1n replied to Dani3l.'s topic in Imagini şi Videoclipuri
Eu tot astept sa il postezi :D -
aha
-
Nu ca coite la mine,mai termina cu limbaju asta de "lopătar" ca se vede cu ochiu liber,tu nu o sa ajungi in veci la nivelu` lu` Edison..marog macar sti sa dai copy+paste si gata..bravo asta mi-a placut.
-
GG daca e facut de tine..
-
Poti face interior ca HQ-ul mafiilor de pe b-zone ? https://wiki.b-zone.ro/index.php?title=Factiuni:Vietnamese_Boys, e o poza mai jos cu HQ..
- 3 replies
-
- sa:mp
- map editor
-
(and 5 more)
Tagged with:
-
Si zici ca el are 1 an si 6 luni,sa chinuit..a facut cat a putut asta e..Ce ? vroiai sa ai sisteme de apartamente de garaj de accesori ? ca sa poti copia tot din el ha ? =)))
-
Prea mult roz,mai taie din el..
-
Woaw vad roz..
-
Coite nu va inteleg dupa ce ca e plin internetul de copii care au acest gamemode crezi ca nimeni nu stie de acest gamemode...ce nab..
