12.02.2017, 16:45
1. Put the full code and not a part.
2.
2.
PHP код:
CMD:examen(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
return 1;
if(!IsPlayerInRangeOfPoint(playerid, 8.0, 1312.2740, -1387.2186, 13.5491))
return SendClientMessage(playerid, -1, "INFO: You have to be in front of the DMV");
if(InExam[playerid]) return SendClientMessage(playerid, -1, "INFO: You are already in the exam");
for(new v = 0; v < 5; v++)
{
PutPlayerInVehicle(playerid, examen[v], 0); // What the fuck is this? You put 5 times the player in differents vehicle?
}
SendClientMessage(playerid, -1, "INFO: Follow the checkpoints to finish the exam");
InExam[playerid] = 1;
return 1;
}

