Push a key problem
Here is my mod,
I want to make an cordinate mod so everyone can get cordinates easily so they can create forts.
I only have one problem,
this is the code;
The problem is the following, pressing 5 does nothing! While pressing 5 should bring up the cordinates!
Help please?
-Kamielftw
I want to make an cordinate mod so everyone can get cordinates easily so they can create forts.
I only have one problem,
this is the code;
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
self notifyOnPlayerCommand();
self notifyOnPlayerCommand("5", "+actionslot 2");
{
{
printPlayerPos()
{
self endon("death");
self endon("disconnect");
for(;;)
{
self iPrintLnBold(self getOrigin());
wait 10.00;
}
}
}
}
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self thread printPlayerPos();
self notifyOnPlayerCommand();
}
}
Help please?
-Kamielftw


: