script line that 'talks' for a player?
#3

Quote:

I don't know if that is able, but you could make a cmd like /dd to enter the destruction derby and then you will just place averything that should happend in there (so if you want to enable car destruction you could make a function in on car takedmg or something (just take the things that is in the cmd /ar and place them in /dd cmd))
Sorry if you didn't understand what i wrote xD

no i do not really understand what you are saying xD

but i think it can be done with just 1 line of code.
(I dont know very much about coding/scripting but lets try xd)

ive got a teleport menu and in pawno ther are 4 lines for that teleport:
coordinates,
intrerior id
virtual world (??)
controllable yes/no

Код:
case 7: //Arena
			{
				SetPlayerPos(playerid,-1412.9663, 935.2322, 1036.4211);
				SetPlayerInterior(playerid, 15);
				SetPlayerVirtualWorld(playerid, 0);
   				TogglePlayerControllable(playerid, 1);
			}
maybe you can add something like this:
Код:
GetPlayerInterior (playerid, INTER)
if INTER = 15 (playerid, cmd(/ar))
i dont know if these lines are valid codes
Reply


Messages In This Thread
script line that 'talks' for a player? - by Ariehh - 29.05.2012, 08:10
Re: script line that 'talks' for a player? - by Ranama - 29.05.2012, 08:18
Re: script line that 'talks' for a player? - by Ariehh - 29.05.2012, 08:39
Re: script line that 'talks' for a player? - by milanosie - 29.05.2012, 09:41
Re: script line that 'talks' for a player? - by Ariehh - 29.05.2012, 09:53
Re: script line that 'talks' for a player? - by Vince - 29.05.2012, 10:00
Re: script line that 'talks' for a player? - by Ariehh - 29.05.2012, 10:19
Re: script line that 'talks' for a player? - by iggy1 - 29.05.2012, 10:23
Re: script line that 'talks' for a player? - by Ariehh - 29.05.2012, 10:40
Re: script line that 'talks' for a player? - by iggy1 - 29.05.2012, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)