Different Skins?
#1

Everyone has the same skin in the game. But I've made everyone a different skin. How can I fix it?
Please Help.

Quote:

new npcname9[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname9, sizeof(npcname9)); //Getting the NPC's name.
if(!strcmp(npcname9, "GalarySekreter", true))
{
SetSpawnInfo(playerid,0,150,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamem[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamem, sizeof(npcnamem)); //Getting the NPC's name.
if(!strcmp(npcnamem, "GalarySekreter2", true))
{
SetSpawnInfo( playerid, 0, 76,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamep[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamep, sizeof(npcnamep)); //Getting the NPC's name.
if(!strcmp(npcnamep, "JizzyKoruma", true))
{
SetSpawnInfo( playerid, 0, 163,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamel[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamel, sizeof(npcnamel)); //Getting the NPC's name.
if(!strcmp(npcnamel, "JizzyKoruma2", true))
{
SetSpawnInfo( playerid, 0, 163,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamek[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamek, sizeof(npcnamek)); //Getting the NPC's name.
if(!strcmp(npcnamek, "GaleriKoruma", true))
{
SetSpawnInfo( playerid, 0, 163,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnameo[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnameo, sizeof(npcnameo)); //Getting the NPC's name.
if(!strcmp(npcnameo, "GaleriKoruma2", true))
{
SetSpawnInfo( playerid, 0, 164,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnameu[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnameu, sizeof(npcnameu)); //Getting the NPC's name.
if(!strcmp(npcnameu, "JizzyBarmen", true))
{
SetSpawnInfo( playerid, 0, 172,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamey[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamey, sizeof(npcnamey)); //Getting the NPC's name.
if(!strcmp(npcnamey, "JizzyKiz", true))
{
SetSpawnInfo( playerid, 0, 85,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcnamej[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcnamej, sizeof(npcnamej)); //Getting the NPC's name.
if(!strcmp(npcnamej, "JizzySniper", true))
{
SetSpawnInfo( playerid, 0, 163,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}

But the following seems to smooth skin in the game (below)


Quote:

new npcname4[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname4, sizeof(npcname4)); //Getting the NPC's name.
if(!strcmp(npcname4, "Calisan_Adam", true))
{
SetSpawnInfo( playerid, 0, 189,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcname5[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname5, sizeof(npcname5)); //Getting the NPC's name.
if(!strcmp(npcname5, "Yuzen_Adam", true))
{
SetSpawnInfo( playerid, 0, 154,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcname6[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname6, sizeof(npcname6)); //Getting the NPC's name.
if(!strcmp(npcname6, "Koruma3", true))
{
SetSpawnInfo( playerid, 0, 166,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}
new npcname7[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname7, sizeof(npcname7)); //Getting the NPC's name.
if(!strcmp(npcname7, "Koruma2", true))
{
SetSpawnInfo( playerid, 0, 164,1544.0894,-1631.9235,13.3828,93.1440,0,0,0,0,0,0);
ShowPlayerMarkers(0);
return 1;
}

Reply
#2

Hello
Im no Pro, but you should not make setspawninfo
the NPC will spawn at its place without spawninfo
just do SetPlayerSkin(playerid,<skinid>);
Reply
#3

Don't work..
Reply
#4

on my first server, some time ago, was SAMP 0.2X time, i wasnt registered here though. i had a problem quite like that, despite the skin you choose, you get CJ's skin. it was really weird!!
Reply
#5

Mine looks like yours also. I choose the skin, but the skin is coming to worker skin
Reply
#6

LOL check your OnPlayerSpawn and see if you have any problem
as i said im not a pro, but im not a very beginner so if you want help you can add my xfireatchkinson
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)