22.08.2012, 10:57
i used this to lock my skin i made a "new myskin[1];
and putted "myskin[0]=" infront of the Addplayerclass and i used this to stop people from using it and this code isnt working i did it kinda same with my car.
and putted "myskin[0]=" infront of the Addplayerclass and i used this to stop people from using it and this code isnt working i did it kinda same with my car.
Код:
for(new i=0; i<sizeof(myskin); i++) { if(GetPlayerSkin(playerid)==myskin[i]) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); if(!strcmp(name,"[KTB]Lil_Fam[PNR]",true) == 0) { SetPlayerHealth(playerid,0); SendClientMessage(playerid,COLOR_RED,"You are not [KTB]Lil_Fam[PNR]"); } } }