24.12.2016, 09:13
Lets say that I want to make anticheat for every vehicl for itself.
Example
If he is in infernus and goes over 260 he will get kicked.
If he is in maverick and goes over 200 he will get kicked
Is there any efficient way to do it or I can do it only like
Example
If he is in infernus and goes over 260 he will get kicked.
If he is in maverick and goes over 200 he will get kicked
Is there any efficient way to do it or I can do it only like
PHP код:
if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
{
new vID = GetVehicleModel(GetPlayerVehicleID(i));
switch(vID)
{
case 411: //Infernus
{
if(GetSpeed(i) > 250)
{