25.08.2011, 00:33
Same, problem :/
Loose identitation...
But maybe we should try to add it under OnPlayerStateChange?
SO like this:
But, that's returned wrong too... cuz it does not work in game :/
Loose identitation...
But maybe we should try to add it under OnPlayerStateChange?
SO like this:
Код:
public OnPlayerStateChange(playerid,newstate,oldstate) { new playerState = GetPlayerState(playerid); if (playerState == PLAYER_STATE_DRIVER) { if(IsPlayerInVehicle(playerid, 516)) //If the player is in the Nebula (driver mission car) { if(gTeam[playerid] == TEAM_DRIVERS) //If the player is in the right team for the mission) { if(IsWorking[playerid] == 0) //Check if the player hasn't already started a Job { GameTextForPlayer(playerid, "~w~ U entered A ~y~Lvl 1~w~ vehicle. Please drive to the ~r~ Red marker~w~, located in front of the club. to Work", 3000, 4); startworkpickup = CreatePickup(1317, 14, 670.15740966797,-12752222900391,13467164993286, -1); } } else { GameTextForPlayer(playerid, "~w~ To work, enter the Vehicle as a Driver Please.", 3000, 4); } } } //other code in this callback: