Hali,az a gondom hogy CJ skinbe spawnolnak le az NPC-k pedig meg adtam nekik a skin idjüket
if ( IsPlayerNPC ( playerid ) )
{
new npcname [ MAX_PLAYER_NAME ];
GetPlayerName ( playerid, npcname, sizeof ( npcname ) );
if ( !strcmp ( npcname, \"Nagy_Lilla\", true ) )
{
SetPlayerSkin(playerid, 194);
}
}
new npcname [ MAX_PLAYER_NAME ];
GetPlayerName ( playerid, npcname, sizeof ( npcname ) );
if ( !strcmp ( npcname, \"Nagy_Sandor\", true ) ) // Ellenõrzik a következõ névvel
{
SetPlayerSkin(playerid, 155);
}
}
new npcname [ MAX_PLAYER_NAME ];
GetPlayerName ( playerid, npcname, sizeof ( npcname ) );
if ( !strcmp ( npcname, \"Kiss_Lajos\", true ) ) // Ellenõrzik a következõ névvel
{
SetPlayerSkin(playerid, 175);
}
return 1;
}