14.03.2012, 22:28
woops sorry xD
2138 - 2177
Here is my player enum
2138 - 2177
pawn Код:
if(pJob == 0)
{
pJob[playerid] = TRUCKER;
SendClientMessage(playerid, COLOR_WHITE, ".:: You have now joined the job, Trucker ::.");
SendClientMessage(playerid, COLOR_WHITE, ".:: To start work grab a truck and use /startjob ::.");
}
if(pJob > 0)
{
SendClientMessage(playerid, COLOR_WHITE, ".:: You must quit your current job using /quitjob ::.");
}
}
if(IsPlayerInRangeOfPoint(playerid, 10,1760.1884,-1895.4938,13.5612))
{
if(pJob == 0)
{
pJob[playerid] = TAXI;
SendClientMessage(playerid, COLOR_WHITE, ".:: You have now joined the job, Taxi Drive ::.");
SendClientMessage(playerid, COLOR_WHITE, ".:: To start work grab a taxi and use /startjob ::.");
}
if(pJob > 0)
{
SendClientMessage(playerid, COLOR_WHITE, ".:: You must quit your current job using /quitjob ::.");
}
}
if(IsPlayerInRangeOfPoint(playerid, 10,-2033.3699,133.1192,28.8359))
{
if(pJob == 0)
{
pJob[playerid] = MECHANIC;
SendClientMessage(playerid, COLOR_WHITE, ".:: You have now joined the job, Mechanic ::.");
SendClientMessage(playerid, COLOR_WHITE, ".:: To start work grab a tow truck and use /startjob ::.");
}
if(pJob > 0)
{
SendClientMessage(playerid, COLOR_WHITE, ".:: You must quit your current job using /quitjob ::.");
}
}
if(IsPlayerInRangeOfPoint(playerid, 10,-1721.8835,1356.2217,7.1805))
{
if(pJob ==0)
pawn Код:
//-----[Enum Playerinfo]-----
enum pInfo
{
Password,
Cash,
Kills,
Deaths,
Adminlevel,
Faction,
Job,
}