is there other way to format a varible?
i got this:
format(Vehicleinfo[vehicleid][owner], 24, pName);
but sometimes it return: W(name)
like: WUnknown123
so?
format(24, Vehicleinfo[vehicleid][owner], 24, pName);
Posts: 6,129
Threads: 36
Joined: Jan 2009
You should avoid using format() to copy strings. A better way would be to use
strcat:
pawn Код:
strcat(Vehicleinfo[vehicleid][owner], pName, MAX_PLAYER_NAME);
Ok, thx for the replies and i got a base in the water, and the vehciles is falling through the objects, i have trid to put the vehicles higher up (Z + 10) but dont work good
bump, how should i do it? so the vehicles dont spawn in water? but on the objects...?