20.07.2012, 22:51
(
Последний раз редактировалось Morgothr; 21.07.2012 в 12:52.
)
Trying to start up a server, not good at scripting (when server gets bigger will eventually try to get a proper scripter to help). Anyway, was going through the game and checking things (playing as a normal player, going through tutorial and so on) and when I get to city hall to take the passport test it says I need to wait 300 minutes before I can retake the test (even without "trying" to take it yet). Is there any way to change the script to make it so the waiting time to take the test will be 0 seconds / no waiting time. I have already tried to set the number of seconds to 0 but it doesn't change.
The base script we are using is here: https://sampforum.blast.hk/showthread.php?tid=140427&page=1
The file I am editing to try and change this is the "larp.pwn" file under this line: PlayerInfo[playerid][pPassportTime] = 18000. There is more than one line in the script with passport time, I have tried changing them various times. Am I doing this correctly or what do I need to change? I tried multiple times to change the lines to different numbers (0, 60, 1 etc).
Edit 1:
Tried increasing the value in the script to 10,000 and in game it said "You have to wait 0 minutes to take the test", tried waiting a minute but still can't take the test at all even though it says "You need to wait 0 minutes".
Edit 2:
I searched through the thread linked above and came cross a thread explaining how to change the timer [quote below], when I have tried to do this already instead of taking off the timer it INCREASES the time. Why is it doing this?
for remove passport timer
this so hard i tell to simple work
Link to above quote: http://forum.sa-mp.com/showthread.ph...rt#post1153794
The base script we are using is here: https://sampforum.blast.hk/showthread.php?tid=140427&page=1
The file I am editing to try and change this is the "larp.pwn" file under this line: PlayerInfo[playerid][pPassportTime] = 18000. There is more than one line in the script with passport time, I have tried changing them various times. Am I doing this correctly or what do I need to change? I tried multiple times to change the lines to different numbers (0, 60, 1 etc).
Edit 1:
Tried increasing the value in the script to 10,000 and in game it said "You have to wait 0 minutes to take the test", tried waiting a minute but still can't take the test at all even though it says "You need to wait 0 minutes".
Edit 2:
I searched through the thread linked above and came cross a thread explaining how to change the timer [quote below], when I have tried to do this already instead of taking off the timer it INCREASES the time. Why is it doing this?
for remove passport timer
this so hard i tell to simple work
Quote:
find all in ur gm
pawn Код:
pawn Код:
pawn Код:
|