Help with saving a text
#1

Hi...
I want to add register numbers of police vehicles... I used:
Код:
new rnumber[MAX_VEHICLES][number[10]];
but as you can imagine it doesn't work...
I used:
Код:
public OnVehicleSpawn(vehicleid)
{
if(vehicleid == polcar1){
new string[10];
format(string, sizeof(string), "GO-1");
rnumber[vehicle][tail[10]] = string);
}
return 1;
}
and I made it sent it when you enter the vehicle...

however... it doesn't work

How to save the number in the rnumber...?
Reply
#2

It should be
pawn Код:
new rnumber[MAX_VEHICLES][number][10];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)