13.06.2011, 14:31
(
Последний раз редактировалось Ehab1911; 13.06.2011 в 14:38.
Причина: WORKING <3
)
Hey guys, I've been thinking about something that can give Unlimited Nitrous or Nitrous for usage
So, I went to work on it Here is the script:
But I get this problem, I don't know why ..
I will try to Define it, brb. If it works I'm gonna update this thread =]
Let's hope that It'll work
----------------------------
UPDATE:
IT WORKS, Awesome
!!! It's like When you press the first time, Nitrous runs and the second time it Stops :O
Coool
So, I went to work on it Here is the script:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (HOLDING( KEY_FIRE ))
{
if (IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
else if (RELEASED(KEY_FIRE))
{
RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
}
return 1;
}
pawn Код:
C:\SA-MP PROJECT\samp03csvr_R2-2_win32\gamemodes\project.pwn(1873) : error 017: undefined symbol "RELEASED"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
I will try to Define it, brb. If it works I'm gonna update this thread =]
Let's hope that It'll work
----------------------------
UPDATE:
IT WORKS, Awesome

Coool