Huhu,
ich fass mich kurz
SetPlayerColor(playerid, COLOR_RED2);
unter OnPlayerSpawn bzw.
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) { SetPlayerToTeamColor(playerid); SetPlayerColor(playerid, COLOR_GREEN);SetPlayerPos(playerid, 2495.3435,-1686.9659,13.5150);SetPlayerFacingAngle(playerid, 357.0);SetPlayerInterior(playerid,0);GivePlayerWeapon(playerid, 29, 800);GivePlayerWeapon(playerid, 25, 200);GivePlayerWeapon(playerid, 30, 230);SetPlayerArmour(playerid,100.0);GivePlayerWeapon(playerid, 34, 50);PlayerInfo[playerid][pInt] = 0;SetPlayerVirtualWorld(playerid, 0); return 1; }
Übersichtlicher:
if(PlayerInfo[playerid][pMember] == 12 PlayerInfo[playerid][pLeader] == 12) //Groove Street
{
SetPlayerToTeamColor(playerid);
SetPlayerColor(playerid, COLOR_GREEN);
SetPlayerPos(playerid, 2495.3435,-1686.9659,13.5150);
SetPlayerFacingAngle(playerid, 357.0);
SetPlayerInterior(playerid,0);
GivePlayerWeapon(playerid, 29, 800);
GivePlayerWeapon(playerid, 25, 200);
GivePlayerWeapon(playerid, 30, 230);
SetPlayerArmour(playerid,100.0);
GivePlayerWeapon(playerid, 34, 50);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
SetPlayerColor(playerid, COLOR_GREEN);
Wenn man Spawnt soll man Grün sein. Dies geschiet nicht.
Wenn man /setteam macht, klappt alles aber beim Tod ist man wieder unsichtbar also weiss...
habe alles probiert kann mir einer bitte weiterhelfen?