DNG Posted September 2, 2010 Report Share Posted September 2, 2010 cum as putea sa fac un skin numai pentru admin ? Link to comment Share on other sites More sharing options...
MrBlack Posted September 2, 2010 Report Share Posted September 2, 2010 Cum adica? sa creezi un skin special , sau sa pui la fiecare admin sa fie un skin? Creation's:[Map]Chiliad Stunt for Fun[Map] Plaja LS ( first map)[Tut]Cum sa vezi playerii pe navigator[Tut] Cum sa faci un textdraw cu cati playeri sunt online pe server.[FS] Admin Gun's Link to comment Share on other sites More sharing options...
IstuntmanI Posted September 2, 2010 Report Share Posted September 2, 2010 la OnPlayerUpdate pui:if(!IsPlayerAdmin(playerid) && GetPlayerSkin(playerid) == id_skin_admin) { SendClientMessage(playerid,culoare,"Numai adminii pot avea acest skin"); SetPlayerSkin(playerid, 0); } IsPlayerAdmin(playerid) inlocuiesti cu functia ta pentru admini, de exemplu pentru ladmin: if(PlayerInfo[playerid][Level] == 0) si va deveni if( !(PlayerInfo[playerid][Level] == 0) && (GetPlayerSkin(playerid) == id_skin_admin) ) { SendClientMessage(playerid,culoare,"Numai adminii pot avea acest skin!"); SetPlayerSkin(playerid, 0); }id_skin_admin - inlocuiesti cu ce id skin pentru admin vreiculoare - inlocuiesti cu ce culoare vrei tu Link to comment Share on other sites More sharing options...
DNG Posted September 2, 2010 Author Report Share Posted September 2, 2010 nu gasesc OnPlayerUpdate Link to comment Share on other sites More sharing options...
LaZ Posted September 2, 2010 Report Share Posted September 2, 2010 nu gasesc OnPlayerUpdateNu-ti trebuie OnPlayerUpdate.http://wiki.sa-mp.com/wiki/OnPlayerRequestClass Link to comment Share on other sites More sharing options...
cmg4life Posted September 2, 2010 Report Share Posted September 2, 2010 Nu mai folositi OnPlayerUpdate pt fiecare prostie.Poti sa faci, daca vrei ca admini sa aibe skinul asta mereu, la OnPlayerSpawn: if( admin (ce ai tu pt admin ) ) SetPlayerSkin(playerid, IDul la Skin); Sau cum a sugerat Laz, la OnPlayerRequestClass, faci o clasa pt ei. -Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index Link to comment Share on other sites More sharing options...
DNG Posted September 3, 2010 Author Report Share Posted September 3, 2010 cum pun acolo daca eu folosec FS luat de ep forum Aadmin? Link to comment Share on other sites More sharing options...
Question
DNG
cum as putea sa fac un skin numai pentru admin ?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts