31.10.2009, 15:32
Gang Names Under Class Selection? How can I do it with gametexts?
Ty.
EDIT: I tried this;
But it doesn't works; HELP...
Ty.
EDIT: I tried this;
Код:
public OnPlayerRequestClass(playerid, classid) { SetupPlayerForClassSelection(playerid); if(classid == 105 || classid == 106 || classid == 107) { GameTextForPlayer(playerid,"~g~Army",5000,5); } else if(classid == 102 || classid == 103 || classid == 104) { GameTextForPlayer(playerid,"~r~Terrorists",5000,5); } return 1; } public SetupPlayerForClassSelection(playerid) { SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); }