help, I have problems with the "IsValidVehicle"
#1

The problem is that when I try it seems that the function does not return false but true, and does not allow things done.


if(dialogid == TC_DIALOG)
{
if(!response) return SendClientMessage(playerid, -1, "Se cancela venta.");
switch(listitem)
{
case 0:
{
if(gTeam[playerid] == TEAM_UNASUR)
{
for(new l = 0; l<MAX_VEHICLES; l++)
{
if(GetVehicleModel(uns[l]) == 470)
{
if(!IsValidVehicle(uns[l]))
{
SendClientMessage(playerid, -1, "No tiene espacio para este Vehiculo");
}
else
{
SendClientMessage(playerid, -1, "Vehiculo Comprado Exitosamente!");
}
}
}
}
}
}
}


Thanks!!! (y)
Reply


Messages In This Thread
help, I have problems with the "IsValidVehicle" - by wolfrex2809 - 24.04.2014, 00:40
Re: help, I have problems with the "IsValidVehicle" - by Onfroi - 24.04.2014, 00:56
Respuesta: Re: help, I have problems with the "IsValidVehicle" - by wolfrex2809 - 24.04.2014, 17:10
Re: help, I have problems with the "IsValidVehicle" - by Bingo - 24.04.2014, 17:12
Re: help, I have problems with the "IsValidVehicle" - by Vince - 24.04.2014, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)