Jump to content
  • 0

Am nevoie de ajutor la /createstrip..


bogdan96

Question

Salut am gasit pe forum.sa-mp.com.. un fs cu /createstrip.. insa eu as dori sa o iau si sa o bag in mod si sa fie doar pentru factiunile LSPD , FBI si NG.

V-as fi foarte rescunascator daca m-ati putea ajuta cu ea.. uitati aicea este comanda va rog frumos sa ma ajutati:

	if (strcmp(cmd,"/createstrip",true) == 0)
	{
    if(IsPlayerConnected(playerid))
	    {
		    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3)
			{
	    new Float:plocx,Float:plocy,Float:plocz,Float:ploca;
        GetPlayerPos(playerid, plocx, plocy, plocz);
        GetPlayerFacingAngle(playerid,ploca);
        CreateStrip(plocx,plocy,plocz,ploca);
	    return 1;
	}
	else if (strcmp(cmd,"/removestrip",true) == 0)
	{
        DeleteClosestStrip(playerid);
	    return 1;
	}
	else if (strcmp(cmd,"/removeallstrip",true) == 0)
	{
        DeleteAllStrip();
	    return 1;
	}

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.