17.04.2016, 10:18
Hi!
We can check which number is written in Vehicle1.
What will print in the console (server.log) when you write it like this?
We can check which number is written in Vehicle1.
PHP код:
CMD:test(playerid,params[])
{
printf("Vehicle1: %d",DB[playerid][Vehicle1]);
new String[128];
format(String,sizeof(String),"You got a: %s",GetVehicleName(DB[playerid][Vehicle1]));
MSG(playerid,-1,String);
return 1;
}