[HELP]Trying to make a Faction Car Script
#2

That one cant be correct since pFactionCar isnt a string

pawn Код:
strmid(PlayerInfo[idx][pFactionCar], arrCoords[7], 0, strlen(arrCoords[7]), 255);
use strval to get an integer out of a string

another strange thing is the idx
it is used as index in CarInfo
but for PlayerInfo you would mostly need some kind of playerid

Also I would put the fread in the while loop so it stops at the end of the file
Reply


Messages In This Thread
[HELP]Trying to make a Faction Car Script - by Knappen - 03.08.2011, 00:50
AW: [HELP]Trying to make a Faction Car Script - by Nero_3D - 03.08.2011, 01:01
Re: [HELP]Trying to make a Faction Car Script - by Knappen - 03.08.2011, 01:07
Re: [HELP]Trying to make a Faction Car Script - by =WoR=Varth - 03.08.2011, 02:40
Re: [HELP]Trying to make a Faction Car Script - by Knappen - 04.08.2011, 07:57

Forum Jump:


Users browsing this thread: 1 Guest(s)