25.02.2012, 17:04
pawn Код:
if( killerid != INVALID_PLAYER_ID )
{
if( InGameCheck[ killerid ] )
{
if( InGameCheck[ playerid ] )
{
MVar [ killerid ][ mKills ] ++;
MVar [ playerid ][ mDeaths ] ++;
MVar [ killerid ][ mXPPlus ] += 100;
TDXPCount [ killerid ] += 100;
// :Patikrinam Ar Pakilo Lygis
CheckIfLevelUp( killerid );
new
string[ 10+1 ]
;
format ( string, sizeof( string ), "XP: +%i", TDXPCount[ killerid ] );
GameTextForPlayer ( killerid, string, 3000, 4 );
SetTimerEx ( "XPShow",1000*3,false,"%d",killerid );
print( "labasLT" );
}
else
{
SetPlayerPos ( playerid, -2651.7112,639.4825,14.4531 );
print( "You Died, and your InGameCheck is false" );
}
}
else
{
}
}