1
mIRC/pawn Scripting / Re: [PAWN] Pickup function
« on: March 31, 2010, 10:54:12 pm »
Ammo works, but respawn seconds not, i tested that about week ago.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
public GetDistance(x1, y1, z1, x2, y2, z2)
{
new Float:dis;
dis = floatsqroot((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)+(z2-z1)*(z2-z1));
return floatround(dis);
}
1- Please Dont Spam.. i want asnwer the qeustions...lol
2- my age is 13..
public AntiCheat(playerid)
{
for(new i = 0; i < 50; i++)
{
if(IsPlayerConnected(i))
{
new Float:hp,
Float:armour;
GetPlayerHealth(i,hp);
GetPlayerArmour(i,armour);
if(hp > 75)
{
// Do Stuff
}
else if(armour > 75)
{
// Do Stuff
}
}
}
return 1;
}
Problem #11:
Vice City will not run after installation - instead, when clicking the icon to start, the Play CD spins and the pointer icon turns into a spinning-CD symbol, but the game never starts (and the pointer may not go back to normal until restarting Windows).
Solution: End all running non-essential processes - whether it be an anti-virus, Window Blinds, whatever. This fix has also been reported to work by closing Folding@Home and a startup program called "BigFix".
Alternatively: If you notice a new piece of hardware called "secdrv" attempting to install itself, Windows may be mistaking some software for hardware. Go to Device Manager and look for a big yellow question mark (indicating hardware with no driver). If one stands next to "secdrv", delete it.
Alternatively: Set the compatibility mode of the executable file to 'Windows 98'. Do so by: right-clicking gta-vc.exe (default: C:\Program Files\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe) -> Properties -> Compatibility tab -> check 'Run this program in compatibility mode for:', and select 'Windows 98 / Windows Me' from the drop-down menu. Apply, OK. And as pictures speak a thousand words, click here.
Alternatively: Instead of the original EXE, use a no CD crack. Note that providing links to any such cracks is strictly prohibited here at GTAForums.com.