2 CMds !! +1 Rep to person who Helped me First
#9

Quote:
Originally Posted by Avi57
Посмотреть сообщение
Guys im getting errors can u put them in this script :
Код:
#include <a_samp>

//beacon
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
	if(strcmp(cmdtext, "/beacon", true) == 0)
    {
        if(!IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid,0xFFFFFFFFF,"You Need to be in vehicle !");
        }
        else
		{
            SetPlayerColor(playerid, 0xFFFF00FF);
            SendClientMessage(playerid,0xFFFFFFFFF,"You are Beacon !");
        }
        return 1;
	}
	return 0;
}
Thx
Show the error.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)