26.07.2009, 06:08
Quote:
Originally Posted by nuriel8833
Quote:
|
Код:
public OnPlayerRequestClass(playerid, classid) { gPlayerClass[playerid] = classid; switch (classid) { case 0,1,2,3,4: { GameTextForPlayer(playerid, "~p~FBI", 1000, 6); } case 5,6,7,8,9,10,11,12: { GameTextForPlayer(playerid, "~b~LSPD", 1000, 6); } case 13,14,15,16,17,18: { GameTextForPlayer(playerid, "~g~Medic and Fireman", 1000, 6); } case 19,20,21: { GameTextForPlayer(playerid, "~g~UF", 1000, 6); } case 22,23,24: { GameTextForPlayer(playerid, "~y~ LSA", 1000, 6); } case 25,26,27: { GameTextForPlayer(playerid, "~B~ SoS", 1000, 6); } case 28,29,30: { GameTextForPlayer(playerid, "~Green~ TBK", 1000, 6); } case 31,32,33,34,35,36,37,38,39,40: { GameTextForPlayer(playerid, "~Green~ Civilian", 1000, 6); } } SetPlayerPos(playerid, 2469.5981,-1640.4302,18.6913); SetPlayerFacingAngle(playerid, 180.1068); SetPlayerCameraPos(playerid, 2471.4749,-1644.8549,17.7152); SetPlayerCameraLookAt(playerid, 2469.5981,-1640.4302,18.6913); SetPlayerVirtualWorld(playerid, 5); return 1; }