09.09.2010, 15:46
I dunno, somewhere here or something?
Код:
forward SendPlayerFormattedText(playerid, const string[], define); forward ClassShow(playerid); public ClassShow(playerid) { if( gPlayerClass[playerid] == ENGINEER ) { EngineerI[playerid] = 1; } if( gPlayerClass[playerid] == ADMIN ) admgod[playerid] = SetTimerEx("AdminGOD", 250, 1, "i", playerid); if( GetPlayerMoney(playerid) < 0 ) ResetPlayerMoney(playerid); new cstr[100]; format(cstr, 100, " "); new classs[50]; if( gPlayerClass[playerid] == GENERAL ) format(classs, 50, "Commander"); if( gPlayerClass[playerid] == ADMIN ) format(classs, 50, "~r~Admin"); if( gPlayerClass[playerid] == SCOUT ) format(classs, 50, "Recon Pilot"); if( gPlayerClass[playerid] == PYRO ) format(classs, 50, "Operational Unit"); if( gPlayerClass[playerid] == MEDIC ) format(classs,50, "Medic"); if( gPlayerClass[playerid] == ENGINEER ) format(classs,50,"Engineer"); if( gPlayerClass[playerid] == PILOT ) format(classs,50,"Hydra Pilot"); if( gPlayerClass[playerid] == DEMOLITION ) format(classs,50,"Pilot I"); if( gPlayerClass[playerid] == ASSAULT ) format(classs,50,"Trainee Pilot"); if( gPlayerClass[playerid] == SNIPER ) format(classs,50,"Pilot II"); format(cstr, 100, "~y~%s", classs); TextDrawHideForPlayer(playerid,Classt[playerid]); TextDrawSetString(Classt[playerid], cstr); TextDrawShowForPlayer(playerid,Classt[playerid]); return 1; } new Float:cbx[MAX_PLAYERS], Float:cby[MAX_PLAYERS], Float:cbz[MAX_PLAYERS], Float:cba[MAX_PLAYERS]; forward ParaExit(playerid); public ParaExit(playerid) { RemovePlayerFromVehicle(playerid); GivePlayerWeapon(playerid, 46, 1); return 1; } forward ExitCB(playerid); public ExitCB(playerid) {