Hallo Liebe samp Users ich hab da ein Problem mit meine Steh Bots
sie Joinen aber Spawnen nicht sie Hängen in der Luft aber Spawnen nicht an was kann es LIEGEN Bitte um hilfe?
if(IsPlayerNPC(playerid))
{
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid, botname, sizeof(botname));
if(!strcmp(botname, "Heinz", true))//npc1
{
SetPlayerSkin(playerid,1);
SetPlayerPos(playerid,1543.8837,-1631.8901,13.3828);
}
if(!strcmp(botname, "Karl", true))//npc2
{
SetPlayerSkin(playerid,2);
SetPlayerPos(playerid,1510.6140,-1661.5903,13.5469);
}
if(!strcmp(botname, "Justin", true))//npc3
{
SetPlayerSkin(playerid,3);
SetPlayerPos(playerid,1510.6001,-1656.9126,13.5392);
}
if(!strcmp(botname, "David", true))//npc4 && Nach mir HEiTZER benannt :P
{
SetPlayerSkin(playerid,4);
SetPlayerPos(playerid,1512.4521,-1653.0417,13.5469);
}
if(!strcmp(botname, "Julian", true))//npc5
{
SetPlayerSkin(playerid,5);
SetPlayerPos(playerid,773.9261,-1386.0692,13.6865);
}
if(!strcmp(botname, "Alex", true))//npc6
{
SetPlayerSkin(playerid,6);
SetPlayerPos(playerid,826.3253,-1346.2048,13.5333);
}
if(!strcmp(botname, "Marcel", true))//npc7
{
SetPlayerSkin(playerid,7);
SetPlayerPos(playerid,826.6147,-1349.0844,13.5359);
}
if(!strcmp(botname, "Timon", true))//npc8
{
SetPlayerSkin(playerid,8);
SetPlayerPos(playerid,1654.5546,-1038.4736,23.8984);
}
if(!strcmp(botname, "Rudi", true))//npc9
{
SetPlayerSkin(playerid,9);
SetPlayerPos(playerid,1695.6289,-1023.1684,23.9063);
}
if(!strcmp(botname, "Thomas", true))//npc10
{
SetPlayerSkin(playerid,10);
SetPlayerPos(playerid,1689.3412,-1024.3073,23.9063);
}
if(!strcmp(botname, "Ralf", true))//npc11
{
SetPlayerSkin(playerid,11);
SetPlayerPos(playerid,1722.3246,-1009.9833,24.0119);
}
return 1;
MFG:Hunter