Szerző Téma: Problem ???  (Megtekintve 1138 alkalommal)

Nem elérhető hunfiu

  • 161
    • Profil megtekintése
Problem ???
« Dátum: 2012. Április 20. - 12:37:23 »
0 Show voters
format( form, sizeof(form), \"[OOC][infó]: Az admin:%s\", GetPlayerName(playerid)); SendClientMessage( playerid, zöld, form); 

 
Mi a baj ??
« Utoljára szerkesztve: 2012. Április 20. - 12:54:45 írta hunfiu »

Problem ???
« Válasz #1 Dátum: 2012. Április 20. - 12:46:11 »
0 Show voters
   new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format( form, sizeof(form), \"[OOC][infó]: Az admin:%s\", name);

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Problem ???
« Válasz #2 Dátum: 2012. Április 20. - 12:51:37 »
0 Show voters
Idézetet írta: N@rbirock date=1334918771\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20425\" data-ipsquote-contentclass=\"forums_Topic

   new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format( form, sizeof(form), \"[OOC][infó]: Az admin:%s\", name);

 

SendClientMessage( playerid, zöld, form); sot kihagytad vagyis:
 
            new name[MAX_PLAYER_NAME];
            GetPlayerName(playerid,name,sizeof(name));
            format( form, sizeof(form), \"[OOC][infó]: Az admin:%s\", name);
            SendClientMessage( playerid, zöld, form);

Nem elérhető hunfiu

  • 161
    • Profil megtekintése
Problem ???
« Válasz #3 Dátum: 2012. Április 20. - 12:54:26 »
0 Show voters
Nem sokat segített mert a GetPlayerName-t lehet format ba írni és s többi ugyan az

Problem ???
« Válasz #4 Dátum: 2012. Április 20. - 12:56:15 »
0 Show voters
milyen errort ír?

Nem elérhető hunfiu

  • 161
    • Profil megtekintése
Problem ???
« Válasz #5 Dátum: 2012. Április 20. - 12:58:41 »
0 Show voters
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 2)
error 035: argument type mismatch (argument 3)
fatal error 107: too many error messages on one line

Problem ???
« Válasz #6 Dátum: 2012. Április 20. - 13:01:48 »
0 Show voters
Idézetet írta: hunfiu date=1334919521\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20425\" data-ipsquote-contentclass=\"forums_Topic
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 2)
error 035: argument type mismatch (argument 3)
fatal error 107: too many error messages on one line
 
egy sorba van az egész?

Rammstein

  • Vendég
Problem ???
« Válasz #7 Dátum: 2012. Április 20. - 13:20:23 »
0 Show voters
Idézetet írta: N@rbirock date=1334919708\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20425\" data-ipsquote-contentclass=\"forums_Topic


error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 2)
error 035: argument type mismatch (argument 3)
fatal error 107: too many error messages on one line
 
egy sorba van az egész?
 
[/quote]
Szerinted, ez mire utal?

fatal error 107: too many error messages on one line


Egy sorban sok az error..


Stuntzor

Nem elérhető Casamiro

  • 1046
    • Profil megtekintése
Problem ???
« Válasz #8 Dátum: 2012. Április 20. - 14:46:27 »
0 Show voters
Szerintem a hiba az hogy ékezetes betûvel definiáltad a színt. Próbáld meg így:
 
SendClientMessage( playerid, 0x15ff00AA, form); 

Nem elérhető hunfiu

  • 161
    • Profil megtekintése
Problem ???
« Válasz #9 Dátum: 2012. Április 20. - 19:04:41 »
0 Show voters
Biztos nem mert máshol mûködik de megnézem
Szerk.:
Persze hogy nem

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Problem ???
« Válasz #10 Dátum: 2012. Április 21. - 09:31:07 »
0 Show voters
Infó-t info-ra írd

Problem ???
« Válasz #11 Dátum: 2012. Április 21. - 09:50:26 »
0 Show voters
Pedig az a baja, hogy nem lehet külön, a stringban lekérni a játékos nevét.
 
Idézetet írta: Flash date=1334919097\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20425\" data-ipsquote-contentclass=\"forums_Topic


            new name[MAX_PLAYER_NAME];
            GetPlayerName(playerid,name,sizeof(name));
            format( form, sizeof(form), \"[OOC][infó]: Az admin:%s\", name);
            SendClientMessage( playerid, zöld, form);

 


 

SimplePortal 2.3.7 © 2008-2024, SimplePortal