Speedcam
#1

Well i got the MLRP (Modern Life Roleplay) script made by Roy Nash. It says pay system in make when you go past limit of speedcam. I was wondering how do i make it that it takes money? A code will be nice thanks

Код:
                                        new CSpeed;
                                        CSpeed = GetPlayerSpeed(i, true);
                                        if(CSpeed > SpeedCams[p][scmaxspeed] && SpeedCamPlayer[i] == 0){
                                                SpeedCamPlayer[i] = 1;
												TextDrawShowForPlayer(i, radarTD[i]);
												SetTimerEx("RemoveRadarTD",1000, false, "i", i);
                                                format(String, sizeof(String), "You were caught on speed cam(%d/%d) ((Pay system in make))", CSpeed, SpeedCams[p][scmaxspeed]);
                                                SendClientMessage(i, COLOR_RED, String);
                                                SetTimerEx("SpeedCamCheck", 5000, false, "d", i);
                                        }
                                }
                        }
                }
        }
}
public SpeedCamCheck(playerid){
        SpeedCamPlayer[playerid] = 0;
        return 1;
}
Ill be giving +REP
Reply


Messages In This Thread
Speedcam; Giving +REP - by rocker3410 - 27.12.2013, 17:41
Re: Speedcam - by xVIP3Rx - 27.12.2013, 19:59
Re: Speedcam - by rocker3410 - 27.12.2013, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)