03.03.2013, 16:20
The problem is the lots of stuff start to work only after relog.For Example, when you get a job by this function:
No errors no problems. But you can't do anything as a trucker,until you logout and login again...Anyone might know why?
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,3,590.677429,1230.618286,11.718750))
{
if(PlayerInfo[playerid][Job]==0)
{
SendClientMessage(playerid,0xFF8000FF,"Isidarbinote sunkvezimiu vairuotoju");
PlayerInfo[playerid][Trucker]=1;
PlayerInfo[playerid][Job]=1;
SaveStats(playerid);
}
}