Fire Script
#1

Hey guys,

I would just like to know, is there any working fire script out there? That creates random fires? Good for roleplay servers etc.

Because I have really tried to find a script like this but nah not really working out so far. So do you know any script like this? And if it doesn't exist, how can you script it?
Reply
#2

Yes it does. Use the one I use,

Код:
	//------------------------------------------[Fire System]----------------------------//
		if(strcmp("/fire", cmd, true) == 0)
		{
		    if(PlayerInfo[playerid][pAdmin] >= 1337)
		    {
      		new Float:x, Float:y, Float:z, Float:a;
		    GetXYInFrontOfPlayer(playerid, x, y, z, a, 2.5);
		    AddFire(x, y, z);
			return 1;
			}
		}
You can change the system a bit so that only Rcon Admin can use it.
Reply
#3

-repost, sorry-
Reply
#4

Quote:
Originally Posted by SoldierX
Посмотреть сообщение
Yes it does. Use the one I use,

Код:
	//------------------------------------------[Fire System]----------------------------//
		if(strcmp("/fire", cmd, true) == 0)
		{
		    if(PlayerInfo[playerid][pAdmin] >= 1337)
		    {
      		new Float:x, Float:y, Float:z, Float:a;
		    GetXYInFrontOfPlayer(playerid, x, y, z, a, 2.5);
		    AddFire(x, y, z);
			return 1;
			}
		}
You can change the system a bit so that only Rcon Admin can use it.
Well...

Код:
error 017: undefined symbol "GetXYInFrontOfPlayer"
error 017: undefined symbol "AddFire"
To not mention...

Код:
warning 203: symbol is never used: "a"
warning 203: symbol is never used: "z"
warning 203: symbol is never used: "y"
warning 203: symbol is never used: "x"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)