Hey Leute,
gibt es eine einfachere Alternative um mit /skin1 seinen Skin auf Skin1 zu setzten bis hin zu skin 250 als diese:
if (strcmp("/skin1", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,1);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 1");
return 1;
}
if (strcmp("/skin2", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,2);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 2");
return 1;
}
if (strcmp("/skin3", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,31);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 3");
return 1;
}
if (strcmp("/skin4", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,32);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 4");
return 1;
}
if (strcmp("/skin5", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,33);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 5");
return 1;
}
if (strcmp("/skin6", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,34);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 6");
return 1;
}
if (strcmp("/skin7", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,7);
SendClientMessage(playerid,0x000050FF,"Willkommen im Spasti skin 7");
return 1;
}
if (strcmp("/skin8", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,35);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 8");
return 1;
}
if (strcmp("/skin9", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,9);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 9");
return 1;
}
if (strcmp("/skin10", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid,10);
SendClientMessage(playerid,0x000050FF,"Willkommen im skin 10");
return 1;