eXtreMe96 Posted November 4, 2010 Report Share Posted November 4, 2010 Folosesc fsul ladmin si am facut lvl 1 sa fie vip si as vrea sa fac o comanda vips si sami arata doar lvl 1 online pot face asa ceva? ma ajuta cnva lol Link to comment Share on other sites More sharing options...
Mark.W Posted November 4, 2010 Report Share Posted November 4, 2010 Uite aici. Daca are ceva erori fa un reply cu ele ca nu am testat comanda. if(strcmp(cmd, "/vips", true) == 0) { new cout=0; SendClientMessage(playerid, green, "________________________________________"); for(new i=0; i<MAX_PLAYER; i++) { if(IsPlayerConnected(i)) { GetPlayerName(i, adminname, sizeof(adminname)); format(string, 256, "VIP: %s [ID %d]", adminname,i); count++; } } if(count == 0) SendClientMessage(playerid, blue, "Found no VIP`s online"); SendClientMessage(playerid, green, "________________________________________"); return 1; } [MAP] San Fierro Kart Track v2.0[MAP] Las Venturas Kart Track Link to comment Share on other sites More sharing options...
eXtreMe96 Posted November 5, 2010 Author Report Share Posted November 5, 2010 C:\Documents and Settings\ÀäìèÃèñòðà òîð\Ãà áî÷èé ñòîë\Ãîâà ÿ ïà ïêà (3)\gamemodes\SGM.pwn(2243) : error 017: undefined symbol "adminname"C:\Documents and Settings\ÀäìèÃèñòðà òîð\Ãà áî÷èé ñòîë\Ãîâà ÿ ïà ïêà (3)\gamemodes\SGM.pwn(2243) : error 017: undefined symbol "adminname" lol Link to comment Share on other sites More sharing options...
-=[Vyorel]=- Posted November 5, 2010 Report Share Posted November 5, 2010 new adminname[MAX_PLAYER_NAME]; ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
eXtreMe96 Posted November 5, 2010 Author Report Share Posted November 5, 2010 E rau codu de tot imi da warnuri incotinu si am de exemplu new cmds el imi spune ca nam are numa bug lol Link to comment Share on other sites More sharing options...
Mark.W Posted November 5, 2010 Report Share Posted November 5, 2010 Pai, normal ca la new cmds nu apare pentru ca trebuie sa adaugi tu. Eu nu am de unde sa stiu exact ce variable le ai definite si care nu. Am descarcat de pe net LAdmin 2.2 si m-am uitat pe acolo. Am presupus ca stii si tu sa rezolvi variabilele lipsa. [MAP] San Fierro Kart Track v2.0[MAP] Las Venturas Kart Track Link to comment Share on other sites More sharing options...
Question
eXtreMe96
Folosesc fsul ladmin si am facut lvl 1 sa fie vip si as vrea sa fac o comanda vips si sami arata doar lvl 1 online pot face asa ceva? ma ajuta cnva
lol
Link to comment
Share on other sites
5 answers to this question
Recommended Posts