07.09.2012, 18:24
Can any one tell me how can I add the skins to the place when you login it show up 2 arrows and a spawn button I want there skins to be added
SetPlayerClass(playerid, classid);
//--------------------------Selection Screen Colors-----------------------------
switch (classid)
{
//-------------------------------SF Worker
case 0:
{
//worker
TextDrawShowForPlayer(playerid, worker0);
TextDrawShowForPlayer(playerid, worker1);
//hide
TextDrawHideForPlayer(playerid, pimp0);
TextDrawHideForPlayer(playerid, pimp1);
TextDrawHideForPlayer(playerid, golfer0);
TextDrawHideForPlayer(playerid, golfer1);
TextDrawHideForPlayer(playerid, triad0);
TextDrawHideForPlayer(playerid, triad1);
TextDrawHideForPlayer(playerid, army0);
TextDrawHideForPlayer(playerid, army1);
TextDrawHideForPlayer(playerid, mechanic0);
TextDrawHideForPlayer(playerid, mechanic1);
TextDrawHideForPlayer(playerid, medic0);
TextDrawHideForPlayer(playerid, medic1);
TextDrawHideForPlayer(playerid, swat0);
TextDrawHideForPlayer(playerid, swat1);
TextDrawHideForPlayer(playerid, chicken0);
TextDrawHideForPlayer(playerid, chicken1);
TextDrawHideForPlayer(playerid, toreno0);
TextDrawHideForPlayer(playerid, toreno1);
TextDrawHideForPlayer(playerid, pilot0);
TextDrawHideForPlayer(playerid, pilot1);
TextDrawHideForPlayer(playerid, nang0);
TextDrawHideForPlayer(playerid, nang1);
GameTextForPlayer(playerid, "~r~SF WORKER", 2000, 5);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -2109.7576,184.2289,35.1503);
SetPlayerFacingAngle(playerid,160.3343);
SetPlayerCameraPos(playerid, -2108.96,175.01,36.31);
SetPlayerCameraLookAt(playerid, -2109.7576,184.2289,35.1503);
PlayerPlaySound(playerid,SOUND_MUSIC1,-2109.7576,184.2289,35.1503);
}
SetPlayerClass(playerid, classid);
//--------------------------Selection Screen Colors-----------------------------
switch (classid)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -2109.7576,184.2289,35.1503);
SetPlayerFacingAngle(playerid,160.3343);
SetPlayerCameraPos(playerid, -2108.96,175.01,36.31);
SetPlayerCameraLookAt(playerid, -2109.7576,184.2289,35.1503);
}
for(new i = -1; i < 300; i++) if(IsSkinValid(i)) AddPlayerClass(i,1860.4724,-2261.4534,13.5469,0,0,0,0,0,0,0);
format(string128,sizeof(string128),"~w~ID: %i",pskin[playerid]); GameTextForPlayer(playerid,string128,2000,3);
stock IsSkinValid(skinid) { if (skinid < 0 || skinid > 299 || skinid==74) return false; else return true; }