Unknown command on this script.
#1

pawn Код:
if(PlayerInfo[giveplayerid][pVehicle] == 1) //owns a car
                        {
                            new car = GetCarIDFromPlayer(playerid);
                            strmid(CarInfo[car][vOwner], tmp, 0, strlen(tmp), 255);
                            SaveCars();
                        }
That makes the command unknown, and stops at that part.
Reply
#2

Put Printf's on each individual line to wean it down to one specific line.
Reply
#3

Quote:
Originally Posted by MisterTickle
Посмотреть сообщение
Put Printf's on each individual line to wean it down to one specific line.
Okay it stopped at:
pawn Код:
strmid(CarInfo[car][vOwner], tmp, 0, strlen(tmp), 255);
If i change the players name to what it is in CarInfo[car][vOwner] then it does the command, so like if I changed Henrys name to Bob, then it would change his name to Bob but stop at that code ^. But then if I changed Bob back to Henry, it would work 100%..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)