HELP every 5 seconds star when driving in left side
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
This is something that only full high end scripters would attempt really, I'd suggest you start off with something a lot simpler.

What'd you get up to as such? and what were you using?

I notice no usage of the streamer functions, nor natives in checking their real locations.
I'm using Keep your lane (https://sampforum.blast.hk/showthread.php?tid=550986

and he gave this code

Код:
forward OnPlayerGhostDriving(playerid, zone, Float:X, Float:Y, Float:Z, Float:A);
public OnPlayerGhostDriving(playerid, zone, Float:X, Float:Y, Float:Z, Float:A)
{
    //Example:
    GameTextForPlayer(playerid, "~r~Wrong lane!", 1000, 4);
    return 1;
}

forward OnPlayerDrivingOnTrainTrack(playerid, zone, Float:X, Float:Y, Float:Z);
public OnPlayerDrivingOnTrainTrack(playerid, zone, Float:X, Float:Y, Float:Z)
{
    //example:
    GameTextForPlayer(playerid, "~r~Do not drive on~n~the train tracks!", 1000, 4);
    return 1;
}
And i want when player drive in left side of the road the 5 seconds timer start and after the timer's done he'll get 1 star.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)