Skripta: MW
Problem: Kad dam sebi lidera FBI ili bilo koje druge org. lidera , i kad izadjem pa udjem IG , spawn mi je kod kolodvora , za svaku org. spawn isti , evo vidite spawn FBI , sta je ovde pogresno ? :'(
Dio skripte:
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,3);
JBC_SetPlayerPos(playerid, 290.2225,177.5534,1007.1794);
PlayerInfo[playerid][pInt] = 3;
TextDrawShowForPlayer(playerid, Poruke);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid,lbb);
TextDrawHideForPlayer(playerid,lbt);
TextDrawHideForPlayer(playerid,Intros3);
TextDrawHideForPlayer(playerid,Intros4);
TextDrawHideForPlayer(playerid,Intros5);
TextDrawHideForPlayer(playerid,Intros6);
TextDrawHideForPlayer(playerid,Intros7);
TextDrawHideForPlayer(playerid,Intros9);
TextDrawHideForPlayer(playerid,Intros10);
return 1;
}
if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,3);
JBC_SetPlayerPos(playerid, 290.2225,177.5534,1007.1794);
PlayerInfo[playerid][pInt] = 3;
TextDrawShowForPlayer(playerid, Poruke);
return 1;
}
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid,lbb);
TextDrawHideForPlayer(playerid,lbt);
TextDrawHideForPlayer(playerid,Intros3);
TextDrawHideForPlayer(playerid,Intros4);
TextDrawHideForPlayer(playerid,Intros5);
TextDrawHideForPlayer(playerid,Intros6);
TextDrawHideForPlayer(playerid,Intros7);
TextDrawHideForPlayer(playerid,Intros9);
TextDrawHideForPlayer(playerid,Intros10);
return 1;
}
ovako mozda ?
Probacu posle pa cu javnuti , editovacu posle :)
edit: reseno hvala lock :)