how cand i do that
#1

i have an script on my gm with stunt event , i want to participate onlye people that have NRG or PCJ .

This is the comand /stuntevent :

Код:
if(strcmp(cmd,"/stuntevent",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
		   if(NRGStarted == 0)
		   {
               SendClientMessage(playerid, COLOR_LIGHTBLUE,"This event isn't started at the moment!");
               return 1;
		   }
		   if(PlayerOnMission[playerid] > 0)
           {
                        SendClientMessage(playerid, COLOR_GREY, " You're on mission right now,you can't hold any Materials Packages!");
                        return 1;
           }
           SetPlayerCheckpoint(playerid, NRGStuntX,NRGStuntY,NRGStuntZ, 3.0);
           IsAtStuntEvent[playerid] = 1;
           SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}••• Ai intrat la {FF9900}StuntEVENT. {FFFFFF}Du-te la checkpoint si fa {FF9900}stunt-ul!");
           return 1;
		}
	}
Reply


Messages In This Thread
how cand i do that - by crazyze - 19.01.2014, 16:11
Re: how cand i do that - by SickAttack - 19.01.2014, 16:26
Re: how cand i do that - by crazyze - 19.01.2014, 16:43
Re: how cand i do that - by SickAttack - 19.01.2014, 16:51
Re: how cand i do that - by Konstantinos - 19.01.2014, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)