Show Posts
|
Pages: 1 2 [3] 4 5 ... 9
|
38
|
Scripting / Script Snippets / Anti SpawnKill by rwwpl
|
on: August 11, 2015, 10:20:47 pm
|
This is clientside script:
AntiSpawnKill <- false;
function onClientSpawn(s) { AntiSpawnKill = true; NewTimer("DisableSK",3500,1); return 1; }
function onClientShot(p,w,b) { if (AntiSpawnKill) return 0; else return 1; }
function DisableSK() { AntiSpawnKill = false; Message("* Anti Spawn Kill disabled!",0,255,128); }
|
|
|
45
|
Scripting / Script Help / Re: PutToCar all players in derby problem.
|
on: July 22, 2015, 05:37:46 pm
|
Error here:
vehicle = GetClosestVehicle(player);
when I replace to iv in GetClosestVehicle, it worked, but error in player.Pos = vehicle.Pos;
<22/07/2015 - 17:30:40> AN ERROR HAS OCCURED [parameter 1 has an invalid type 'integer' ; expected: 'instance']
<22/07/2015 - 17:30:40> CALLSTACK
<22/07/2015 - 17:30:40> *FUNCTION [PutToCar()] Scripts/Glowny/Funkcje.nut line [1238]
<22/07/2015 - 17:30:40> *FUNCTION [CheckDerby()] Scripts/Glowny/Funkcje.nut line [1222]
<22/07/2015 - 17:30:40> LOCALS
<22/07/2015 - 17:30:40> [player] 1
<22/07/2015 - 17:30:40> [iv] INSTANCE
<22/07/2015 - 17:30:40> [ii] 1
<22/07/2015 - 17:30:40> [this] TABLE
<22/07/2015 - 17:30:40> [this] TABLE
|
|
|
|