if(strcmp(cmdtext, "/lock", true) == 0)
{
new Float:Vx, // Variables stockage Pos vehicule
Float:Vy,
Float:Vz;
for(new i; i < MAX_VEHICLES; i++)
{
if(strcmp(VehInfo[Proprio], sendername, true) == 0) // Si le joueur est le propriétaire du vehicule
{
GetVehiclePos(i, Vx, Vy, Vz); // On récup' la Pos du vehicule
if(IsPlayerInRangeOfPoint(playerid, 4, Vx, Vy, Vz)) // si le joueur est proche du vehicule
VehiculeInfo[Lock] = 1;
VehiculeInfo[i[Alarme] = 1; // Alarme Activée
}
}
}
Mais dans certain GM il utilise pcarkey il servira a quoi