27.07.2015, 21:56
Hello!
It's both the same only it return one times 1 and one times 0.
But it is both the same.
This is better as you don't use return.
It's both the same only it return one times 1 and one times 0.
But it is both the same.
This is better as you don't use return.
PHP Code:
if(listitem == 0)
{
if(PlayerData[playerid][pLocateCar] == 1)
{
format(szMessage,sizeof szMessage,"Your car (Model: %s) has been respawned!",VehicleNames[PlayerData[playerid][pCarModel1]-400]);
SendClientMessage(playerid,COLOR_WHITE,szMessage);
return 1;
}
}