public OnPlayerSpawn(playerid)
{
if(klasse[playerid] == 1)
{
SetPlayerColor(playerid,PINK);
}
if(Spieler[playerid][Paintball] == 1)
{
SetPlayerPos(playerid,-975.975708,1060.983032,1345.671875);
SetPlayerInterior(playerid,10);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,24,150);
GivePlayerWeapon(playerid,27,80);
GivePlayerWeapon(playerid,34,50);
}
if(GetPVarInt(playerid,"SkinWahl")==1)
{
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
SetPVarInt(playerid,"SkinWahl",0);
return 1;
}
SetPlayerColor(playerid,WEISS);
TextDrawShowForPlayer(playerid,Uhr);
TextDrawShowForPlayer(playerid,SD);
TextDrawShowForPlayer(playerid,Datum);
TextDrawShowForPlayer(playerid,Leiste);
TextDrawShowForPlayer(playerid,Leiste1);
TextDrawShowForPlayer(playerid,Kills[playerid]);
TextDrawShowForPlayer(playerid,Tode[playerid]);
TextDrawShowForPlayer(playerid,KDRATE[playerid]);
TextDrawShowForPlayer(playerid,Pres[playerid]);
TextDrawShowForPlayer(playerid,StatsBox);
TextDrawShowForPlayer(playerid,StatsBox1);
TextDrawShowForPlayer(playerid,StatsAnfang);
SetPVarInt(playerid,"Killstreak",0);
return 1;
}