SHOW:
|
|
- or go back to the newest paste.
| 1 | - | error 025: function heading differs from prototype |
| 1 | + | OnPlayerLogin(playerid,tmppass); |
| 2 | - | error 025: function heading differs from prototype |
| 2 | + | } |
| 3 | - | error 035: argument type mismatch (argument 2) |
| 3 | + | else |
| 4 | {
| |
| 5 | new loginstring[1024]; | |
| 6 | new login1[500]; | |
| 7 | new login2[500]; | |
| 8 | new loginname[64]; | |
| 9 | GetPlayerName(playerid,loginname,sizeof(loginname)); | |
| 10 | format(login2,sizeof(login2),"{80C8FE}--------------ENGLISH------------------------\nWARNING: You have typed an incorrect password\n\nYou have only several times to try to login with your password,\nIf u changed your password with /changepass command ,and you used spaces\ntype only first part of changed password,\nAlso if u tell someone your password ,we are not giving you a backup of your account,");
| |
| 11 | format(login1,sizeof(login1),"{80C8FE}--------------SERBIAN------------------------\n"COL_RED"UPOZORENJE: Upisali ste pogresan password\n\nImate jos nekoliko pokusaja da upisete password,inace cete biti kikovani\nAko ste menjali password sa /changepass ,i pravili ste razmak,upisite samo prvi deo\n\nAko ste isli na neke druge servere, mi ne odgovaramo za vas password zato sto je neko saznao\nAko ste nekom davli vas password ,isto tako ne odgovaramo za vas account\n");
| |
| 12 | format(loginstring, sizeof(loginstring),"%s%s",login1, login2); | |
| 13 | ShowPlayerDialog(playerid,12347,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Prijavi se","Izadji"); | |
| 14 | gPlayerLogTries[playerid] += 1; | |
| 15 | PlayAudioStreamForPlayer(playerid, "http://k005.kiwi6.com/hotlink/w9yr7m97x8/maticjeprorekao.mp3"); | |
| 16 | JBC_SetPlayerPos(playerid, 1221.7010,-1328.6449,-5.00); | |
| 17 | SetPlayerCameraPos(playerid, 1204.3781,-1313.3323,16.3984); | |
| 18 | SetPlayerCameraLookAt(playerid, 1174.7167,-1323.4485,14.5938); | |
| 19 | if(gPlayerLogTries[playerid] == 5) { Kick(playerid); }
| |
| 20 | } | |
| 21 | } | |
| 22 | if(dialogid == 12345) | |
| 23 | {
| |
| 24 | if(strlen(inputtext)) |