I was additing some think like this,on game mode init created text draws format,then on player request class addited like this:
Код:
switch(classid)
{
case 0:
{
SetPlayerPos(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,2498.2676,-1640.1935,18.6116);
SetPlayerCameraLookAt(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerFacingAngle(playerid,0.0);
ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Grove Families", 3000, 3);
TextDrawShowForPlayer(playerid,Weapons);
TextDrawShowForPlayer(playerid,Grove1);
TextDrawShowForPlayer(playerid,Grove11);
TextDrawShowForPlayer(playerid,Grove111);
TextDrawHideForPlayer(playerid,Grove2);
TextDrawHideForPlayer(playerid,Grove22);
TextDrawHideForPlayer(playerid,Grove222);
}
case 1:
{
SetPlayerPos(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,2498.2676,-1640.1935,18.6116);
SetPlayerCameraLookAt(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerFacingAngle(playerid,0.0);
ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Grove Families", 3000, 3);
TextDrawShowForPlayer(playerid,Weapons);
TextDrawHideForPlayer(playerid,Grove1);
TextDrawHideForPlayer(playerid,Grove11);
TextDrawHideForPlayer(playerid,Grove111);
TextDrawShowForPlayer(playerid,Grove2);
TextDrawShowForPlayer(playerid,Grove22);
TextDrawShowForPlayer(playerid,Grove222);
TextDrawHideForPlayer(playerid,Grove3);
TextDrawHideForPlayer(playerid,Grove33);
TextDrawHideForPlayer(playerid,Grove333);
}
case 2:
{
SetPlayerPos(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,2498.2676,-1640.1935,18.6116);
SetPlayerCameraLookAt(playerid,2498.2249,-1644.6326,18.8751);
SetPlayerFacingAngle(playerid,0.0);
ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~Grove Families", 3000, 3);
TextDrawShowForPlayer(playerid,Weapons);
TextDrawShowForPlayer(playerid,Grove3);
TextDrawShowForPlayer(playerid,Grove33);
TextDrawShowForPlayer(playerid,Grove333);
TextDrawHideForPlayer(playerid,Grove2);
TextDrawHideForPlayer(playerid,Grove22);
TextDrawHideForPlayer(playerid,Grove222);
TextDrawHideForPlayer(playerid,Ballas1);
TextDrawHideForPlayer(playerid,Ballas11);
TextDrawHideForPlayer(playerid,Ballas111);
}