01.03.2016, 10:53
PHP код:
if(clickedid == CopS1)
{
SetSpawnInfo(playerid,1,286,441.7211,-1723.6696,9.8657,358.0204,26,5000,31,5000,0,0);
SpawnPlayer(playerid);
SetPlayerSkin(playerid, 286);
TextDrawHideForPlayer(playerid, CopS1);
TextDrawHideForPlayer(playerid, use1);
TextDrawHideForPlayer(playerid, SW);
TextDrawHideForPlayer(playerid, use2);
TextDrawHideForPlayer(playerid, PW);
TextDrawHideForPlayer(playerid, SWA);
TextDrawHideForPlayer(playerid, AW);
TextDrawHideForPlayer(playerid, CW);
TextDrawHideForPlayer(playerid, CopS1);
TextDrawHideForPlayer(playerid, CopS2);
TextDrawHideForPlayer(playerid, CopS3);
TextDrawHideForPlayer(playerid, CopS4);
TextDrawHideForPlayer(playerid, SN);
TextDrawHideForPlayer(playerid, AM1);
TextDrawHideForPlayer(playerid, AM2);
TextDrawHideForPlayer(playerid, CI1);
TextDrawHideForPlayer(playerid, CI2);
TextDrawHideForPlayer(playerid, CI3);
TextDrawHideForPlayer(playerid, CI4);
TogglePlayerSpectating(playerid, 0);
CancelSelectTextDraw(playerid);
TogglePlayerControllable(playerid,1);