Quote:
Originally Posted by ObelesMarc
Nice one... This is much better than pressing 2... Anyways this is so easy to make... Well, anyways nice
|
Thanks so much.
Quote:
Originally Posted by T0pAz
vehicleid parameter is not needed and you haven't explained it well about the function and native. Please learn how to script first then make a tutorial.
|
Explain what really is the problem here because I use the script, everyone that joins my server has the same outcome so I don't see what is the problem with this script.
Quote:
Originally Posted by NeTuddMeg
hmm.. WTF!
pawn Код:
#include <a_samp> forward Rep(); public OnGameModeInit() { SetTimer("Rep",1000,true); } public Rep() { for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i)) RepairVehicle(GetPlayerVehicleID(i)); }
|
I see.. This is so that the Timer doesn't loop if anyone isn't connected.. Thanks for the correct. I'll edit the tutorial.