string in "new" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: string in "new" (
/showthread.php?tid=336978)
string in "new" -
Dan. - 24.04.2012
Is it possible to:
new (STRING) = AddStaticVehicle..
basically, I am doing a car dealership system. And when he buys the car, then the string is his name.
Re: string in "new" -
ViniBorn - 24.04.2012
By dafault, 'new' is an integer.
pawn Код:
new string[2];
string[0] = AddStaticVehicle(
string[1] = AddStaticVehicle(
AW: string in "new" -
Meta - 24.04.2012
Why would you save the ID of a car into a "string" (while this here is not a string)?