28.09.2013, 13:25
You have to return the number to do that.
pawn Код:
stock CarLevel(vehicleid)
{
if(vehicleid == 411) return 10;
return 0;
}
pawn Код:
format(string, sizeof(string), "Level:%i", CarLevel(vehicleid));