|
|
#61 |
|
Big Clucker
![]() ![]() Join Date: Feb 2009
Posts: 54
Reputation: 0
|
Hey there!
First i have to say that this is very awesome and i realy like it! But now there is a little question: How can I easily dont set a player to a class, when i'm creating it with addclass... About my system: I gave each player a few spawns which are so individual that I have to create them at connecting. In fact that the other players shouldn't use the spawns of an other player & I don't want to use Class_SetPlayer at each time for each player (what takes a lot of time I think) I'm searching for a simple alternative. Maybe you can explain where you sets a player to use a class. greetz Akmet //edit: found it by mysql: just change Group_SetClass(forgroup, class, true); to Group_SetClass(forgroup, class, false); in y_classgroups
Last edited by Akmet; 26/06/2012 at 07:59 PM. |
|
|
|
|
|
#62 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Oct 2011
Location: Barbados
Posts: 527
Reputation: 41
|
This is a very neat feature. I have decided to use it in my gamemode but I have couple of problems.
I coded a feature into the script using y_classes but when I compile the script I receive this error. pawn Code:
So I added the y_groups include also and it compiled fine without errors. Is there another way I could fix and compile without errors and without adding the y_groups include. Secondly I keep getting this error in the server_logs but it seems to work fine In-game. pawn Code:
|
|
|
|
|
|
#63 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,340
Reputation: 1911
|
Chris.: Thanks, I'll fix that.
Akmet: I wouldn't do it that way, just use y_groups in your mode to set mass permissions. Nicholas.: I'm not sure, I'd have to look in to that as y_classes was designed to work without y_groups. |
|
|
|
|
|
#64 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Oct 2011
Location: Barbados
Posts: 527
Reputation: 41
|
Alright, sounds good.
|
|
|
|
|
|
#65 |
|
Big Clucker
![]() ![]() Join Date: Apr 2012
Posts: 114
Reputation: 10
|
Nice i love it!
|
|
|
|
|
|
#66 | |
|
Big Clucker
![]() ![]() Join Date: Jan 2011
Posts: 96
Reputation: 2
|
I started use this include. Crashdetect writes in LOG:
Quote:
|
|
|
|
|
|
|
#67 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Feb 2012
Posts: 539
Reputation: 27
|
i guess Y_Less should take some rest from pawn and let other's try to do something good job =))
|
|
|
|
|
|
#68 |
|
Little Clucker
![]() Join Date: Aug 2012
Posts: 15
Reputation: 0
|
With this inc can I skip class selection? I mean not entering the spectating mode, than return to the class sel, but spawns the player. I hope you understand
|
|
|
|
|
|
#69 |
|
Guest
Posts: n/a
|
|
|
|
|
#70 |
|
Little Clucker
![]() Join Date: Mar 2012
Posts: 31
Reputation: 0
|
Here's a problem with y_class
I'm allowed only to select the first skin. I tried to find a solution in YSI_ClassMenu, but I've had problems also whit that gm. Code:
public OnGameModeInit()
{
printf("%d", Class_Add(281, 1479.468261, -1615.659057, 13.039297, 358.854492, WEAPON_MP5, 500, WEAPON_ARMOUR, 50));
printf("%d", Class_Add(283, 1479.468261, -1615.659057, 13.039297, 358.854492, WEAPON_MP5, 500, WEAPON_ARMOUR, 50));
printf("%d", Class_Add(284, 1479.468261, -1615.659057, 13.039297, 358.854492, WEAPON_MP5, 500, WEAPON_ARMOUR, 50));
printf("%d", Class_Add(285, 1479.468261, -1615.659057, 13.039297, 358.854492, WEAPON_MP5, 500, WEAPON_ARMOUR, 50));
printf("%d", Class_Add(286, 1479.468261, -1615.659057, 13.039297, 358.854492, WEAPON_MP5, 500, WEAPON_ARMOUR, 50));
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
SetPlayerPos(playerid,1479.468261, -1615.659057, 13.039297);
SetPlayerCameraPos(playerid,1479.3927,-1607.9320,14.0393);
SetPlayerCameraLookAt(playerid,1479.468261, -1615.659057, 13.039297);
return 1;
}
EDIT: I've compiled YSI_EG_classes with the last YSI version... again stuck on first class. Arrows for class selection don't work. Last edited by WiredGuyX; 06/11/2012 at 06:57 PM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [HELP] Class Selection - Showing the class name? | CrucixTM | Scripting Help | 13 | 26/04/2012 06:38 PM |
| Help With class selection | Compton | Help Archive | 35 | 13/03/2011 02:01 PM |
| Class selection bug? | Cameltoe | Help Archive | 13 | 21/10/2010 04:47 PM |
| help me with Class Selection Showing the class name | The_Cobra | Help Archive | 2 | 05/02/2010 05:22 PM |
| [Help] Class Selection | Benne | Help Archive | 1 | 10/11/2009 08:07 PM |