/changename

Započeo BLACK
18. Maj 2009. Zaključano
3,131
pregleda
12
postova
BLACK
3
Wheel Man
18. Maj 2009.
ako neko ima ovu skripta, bio bih zahvalan
Deleted User
Obrisan korisnik
18. Maj 2009.
imas(valjda) pamet.. malo razmisli i napravi pa nije to tako tesko  🙄 .. nece ti dozivotno sve neko pisat cc'
admin
5
Kingpin
19. Maj 2009.
if (strcmp(cmd, "/changename", true)==0)
{
tmp = strtok(cmdtext, idx);
new string2;
if (gPlayerLogged != 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "  Niste se prijavili!");
return 1;
}
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "KORISTITE: /changename ");
return 1;
}
format(string, sizeof(string), "%s.ini", tmp);
if(fexist(string))
{
SendClientMessage(playerid, COLOR_GRAD1, "  Taj nick je vec registriran!");
return 1;
}
OnPlayerRename(tmp,string,playerid);
format(string, sizeof(string), "Uradite reconnect i ne zaboravite staviti u samp program vase novo ime %s", tmp);
SendClientMessage(playerid, COLOR_YELLOW, string);
GetPlayerName(playerid, playername, sizeof(playername));
format(string2, sizeof(string2), "%s.ini", playername);
printf("%s has changed there name to %s.", playername,tmp);
gPlayerLogged = 0;
fremove(string2);
return 1;
}


Eto ga, to ti pase za godfather mode i sve njegove edite.
lukica
2
Wheel Man
19. Maj 2009.
nemozemo ti mi to dati ako ti koristis neki drugi gamemod jer si razlicite funkcije i to...
moras sam napraviti ilida ti nekome ko se razumije gamemod da ti napravi...
BLACK
3
Wheel Man
19. Maj 2009.
nakon sto sam sve to ubacio izbacio mi ove errore

http://slike.hr/vidi/gdebug0.jpg
Rick_House
2
Street Runner
19. Maj 2009.
BLACK wrote on May 19, 2009, 1:51 pm:
nakon sto sam sve to ubacio izbacio mi ove errore

http://slike.hr/vidi/gdebug0.jpg


takodjer
Deleted User
Obrisan korisnik
19. Maj 2009.
stvarn0 ste neumni... taj wannabe err0r znaci da varijabla ne postoji.. jednostavno
new gdebug=1; // ili 0 , 0visi kako oces
ce rjesit stvar
Rick_House
2
Street Runner
19. Maj 2009.
meni se dogodi slijedece: napisem /changename Rick_James i on izbaci poruku Unknown Command , a napravio je novi acc sa imenom Rick_James ali je ostao i stari i netreba reconnect niti nista 😐
Deleted User
Obrisan korisnik
19. Maj 2009.
Hmmmm... Sta si ti radio da se to dogodi 😄 😄
admin
5
Kingpin
19. Maj 2009.
Hvala Matej, taj dio sam zaboravio. Ma trebalo bi vam raditi, ja sam to testirao na gf modu i radi.
BLACK
3
Wheel Man
20. Maj 2009.
Meni radi i hvala vam!

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha