1. Run php script from gsc
2. Write in DataBase from .php
3. Read db-query in gsc
My example realisation:
1703
system libcod:
1704
You can try use return 1/0 or -1 in php script from...
1. Run php script from gsc
2. Write in DataBase from .php
3. Read db-query in gsc
My example realisation:
1703
system libcod:
1704
You can try use return 1/0 or -1 in php script from...
system("php vpn.php "+self getIP()+" "+self.id);
<?php
$ip = $argv[1];
$id = $argv[2];
$ch = curl_init('http://proxycheck.io/v2/'.$ip.'?key=mykey&vpn=1&asn=1&risk=1');
curl_setopt($ch,...
i use too vpn api. Codextended .php + database mysql
I've got no clue what roundcam is.
1. set up initial alpha with .alpha
2. call fadeovertime(time_goes_here)
3. set new, desired alpha that should be faded towards
4. fadeovertime will do stuff in the background, as a separated...
Yes, use fadeovertime.
hud.alpha = 0;
hud fadeOverTime(1);
hud.alpha = 1;
Done.
Shouldn't matter. Have you checked from a spectator's point of view (hud element being on the spectatee aka player)?
I don't get what you're trying to do. If you're trying to edit which menu file gets shown to players, just do it through script. If you're trying to modify it globally, then why are you using self?...
It should be rather easy, simply note the numbers:
0, 45, 90, 135, 180, 225, 270, 315, 360 (same as 0)
And write down the corresponding degrees you see on the compass... after max 2/3 numbers...
The correct flag would be .archived, instead of .archive. Not sure about the default, but judging by your results it might be set to true by default (since you set a different variable)
1698
You can write a function like:
checkAngles() {
while (1) {
players = getentarray("player", "classname");
for (i = 0; i < players.size; i++) {
The last number is already the euler angle, in CoD2 it seems to be 360 - theGivenLastNumber.
Based on the image in CoD1, it could be -161 + 360 + 40 = 239
the .archive flag is set to true/false on hud elements to instruct the engine to make them visible in the killcam if set to true. As a side-effect (maybe an intended effect?) it also makes it visible...
use getplayerangles() from a script (gsc) file. player.angles is kinda bugged and only returns a nonzero value for the [1] index.
Also, in cod2 /viewpos returns your left/right angle as the final...
Why are you storing client hud elems in level variables?
No need, the script would be server-side only.
Would say you should script this, preferably through the map gsc
This is a good question and IMO one of the key points that this community still needs to tackle.
My first thought is to edit CoD2_mp.exe and turn CreateProcessA into a no-op, but I'm not even...
fs_game it is. This means LEAVE MAIN THE FUCK ALONE. (this goes for any modder ever thinking of touching main. Dont. You'll be arrested)
Just run it through sandboxie? No clue exactly how, but it should mostly sandbox anything it does.
Ok, works. Special thanks to IzNoGoD for help.
explanation:
1. Download the attachment and put "stop.wav" and "stop_sound.csv" to your mod.
2. Open stop_sound.csv and change the channel in...
Hello everybody! :D One question, how can I stop playLocalSound?