pawn Код:
public OnPlayerSpawn(playerid)
{
//TextDrawShowForPlayer(playerid, laikas); // rodom textdrawą :)
StopAudioStreamForPlayer(playerid);
TextDrawShowForPlayer(playerid,tgp0);
if(playerDB[playerid][naujokas]==true)
{
if(playerDB[playerid][lytis]==1)
{
ShowPlayerDialog(playerid, 871, DIALOG_STYLE_MSGBOX,"{00CC00}[{FF0000}Serveris{00CC00}]", "Sveiki atvykę į TGP-life.lt\nKilus klausimams galite susisiekti skype: tgp-life\nLinkime gerai praleisti laiką ", "Gerai", "");
SetPlayerFacingAngle(playerid, 265.9923);
GivePlayerMoneyA(playerid,60000);
playerDB[playerid][pinigai]=60000;
SetPlayerScore(playerid,1800);
SetPlayerPos(playerid,-1957.4167,131.7217,27.6735);
SetPlayerSkin(playerid,22);
playerDB[playerid][drabuziai]=22;
}
else
{
ShowPlayerDialog(playerid, 871, DIALOG_STYLE_MSGBOX,"{00CC00}[{FF0000}Serveris{00CC00}]", "Sveiki atvykę į TGP-life.lt\nKilus klausimams galite susisiekti skype: tgp-life\nLinkime gerai praleisti laiką ", "Gerai", "");
SetPlayerFacingAngle(playerid, 265.9923);
GivePlayerMoneyA(playerid,60000);
playerDB[playerid][pinigai]=60000;
SetPlayerScore(playerid,1800);
SetPlayerPos(playerid,-1957.4167,131.7217,27.6735);
SetPlayerSkin(playerid,12);
playerDB[playerid][drabuziai]=12;
}
playerDB[playerid][naujokas] = false;
playerDB[playerid][zaidzia]=3;
zaidimast[playerid]=SetTimerEx("Zaidimas",60000,true,"i",playerid);
SetPlayerFacingAngle(playerid, 265.9923);
SetPlayerColor(playerid, 0x80808000);
return 1;
}
if(playerDB[playerid][mires] == true)
{
SetPlayerInterior(playerid, 3);
playerDB[playerid][mires] = false;
}
if(playerDB[playerid][ikalintas])
{
JailPlayer(playerid, playerDB[playerid][kalejimo_laikas]);
}
if(playerDB[playerid][zaidzia]==2)
{
KraunamZaideja(playerid);
KraunamMasina1( playerid );
KraunamMasina2( playerid );
}
return 1;
}
it's all started after i change version from 0.3e to 0.3x