27.12.2013, 17:41
(
Последний раз редактировалось rocker3410; 27.12.2013 в 18:47.
Причина: People not replying
)
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
Ill be giving +REP
Код:
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;
}

