Hey,
Ich habe folgendes Problem.
Ich bin in einer fraktion(15) und komme immer zum hauptspawn(0).
Warum?
CODE:
if(pInfo[playerid][fraktion]==0)
{
SetPlayerPos(playerid,1674.2616,-1915.5049,21.9542);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==1)
{
SetPlayerPos(playerid,1580.1251,-1635.4674,13.5604);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==2)
{
SetPlayerPos(playerid,-1616.4448,685.6295,7.1875);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==3)
{
SetPlayerPos(playerid,-2557.4812,662.7305,14.4531);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==4)
{
SetPlayerPos(playerid,2034.1553,-1403.5601,17.2816);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==5)
{
SetPlayerPos(playerid,-1616.4448,685.6295,7.1875);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==6)
{
SetPlayerPos(playerid,-2452.0681,503.3803,30.0827);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==7)
{
SetPlayerPos(playerid,-1521.9054,481.5855,7.1875);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==8)
{
SetPlayerPos(playerid,2256.7405,-1408.8368,24.0000);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==9)
{
SetPlayerPos(playerid,2499.5959,-1684.8195,13.4340);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==10)
{
SetPlayerPos(playerid,-2106.6504,-195.4614,35.3203);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==11)
{
SetPlayerPos(playerid,-2200.4988,646.3664,49.4375);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==12)
{
SetPlayerPos(playerid,2584.2241,-1104.3000,66.6413);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==13)
{
SetPlayerPos(playerid,-535.9175,-504.5012,25.5178);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==14)
{
SetPlayerPos(playerid,329.6980,-1511.2147,36.0391);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==15)
{
SetPlayerPos(playerid,-1876.4185,-150.8452,11.8984);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==16)
{
SetPlayerPos(playerid,2791.9575,-1427.7181,36.0938);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
else if(pInfo[playerid][fraktion]==17)
{
SetPlayerPos(playerid,-1026.1521,-714.3414,32.0078);
SetPlayerSkin(playerid,pInfo[playerid][skin]);
}
MFG
T_H_U_G