Need help with CreateObject and CreateExplsion
#1

I want the two of them to create an object when a command is typed ex./smokeadd and then I want the same for the explsion one.Any Ideas how
Reply
#2

Any help?
Reply
#3

For the smoke, i think there is an item that smokes, i guess you cut just make a command to "CreateObject" and a command to remove the Objects again, tho i'm not sure..

Код:
 	if (strcmp("/createo", cmdtext, true, 10) == 0)
 	{
 		if(IsPlayerAdmin(playerid))
 		{
			CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ);
 	  	}
 	  else
 	  {
		return 0;
		}
	}
something like this i guess.. Not sure tho
Reply
#4

I tried that,you have to add coords but I want it to spawn infront of the player
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)