Doesn't get the vehicle name (+REP) [quick one]
#2

Hi!

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;

What will print in the console (server.log) when you write it like this?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)