27.07.2011, 16:38
When player connecting to server it shows a Dialog were player choosing a group (Group_SetPlayer) and then sending player to class selection (Class_ReturnToSelection(playerid)
all is okey but.. when player type group #1 skins showing but with skin from group none.
But when player choosed a [gNoGroup] he got only this one skin.. Group #1 got skins for Group #1 and for [gNoGroup].
Second problem is..
When i type for the first time a group #1 it works.. but when i type a command /group2 (it's sets me a [gNoGroup]) i can use still this comand. I need to respawn player or what?
Waiting for help : >

Код:
Class_AddForGroup(SerwerInfo[gGroup1], 15, 0.0, 0.0, 0.0, 0.0); Class_AddForGroup(SerwerInfo[gGroup1], 16, 0.0, 0.0, 0.0, 0.0); Class_AddForGroup(SerwerInfo[gGroup1], 17, 0.0, 0.0, 0.0, 0.0); Class_AddForGroup(SerwerInfo[gGroup1], 18, 0.0, 0.0, 0.0, 0.0); Class_AddForGroup(SerwerInfo[gNoGroup], 0, 0.0, 0.0, 0.0, 0.0);
Second problem is..
Код:
if(bool:Group_GetPlayer(Group:SerwerInfo[gGroup1], playerid)) { SendClientMessage(playerid, COLOR_WHITE, "Message."); }else SendClientMessage(playerid, COLOR_WHITE, "Not this group.");
Waiting for help : >