29.05.2012, 08:39
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 |
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); }
Код:
GetPlayerInterior (playerid, INTER) if INTER = 15 (playerid, cmd(/ar))