SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 05/08/2020, 04:46 AM   #1
GeorgeLimit
Big Clucker
 
GeorgeLimit's Avatar
 
Join Date: Mar 2018
Location: Jawa Timur, Indonesia
Posts: 166
Reputation: 0
Default String on variable with MAX_VEHICLE

I want to make some variable that store the string per vehicle like this

new VehRadioURL[144][MAX_VEHICLES];

but i can't implemented it.
__________________

Quote:
That is perfectly fine, I'm just pointing out where you made mistakes what does hearing "good job" get you? Absolutely nothing. You need to hear the problems otherwise you'll keep making the same mistakes
GeorgeLimit is offline   Reply With Quote
Old 05/08/2020, 05:17 AM   #2
LetsDoItPerfect
Little Clucker
 
Join Date: Mar 2020
Posts: 27
Reputation: 0
Default Re: String on variable with MAX_VEHICLE

You mixed things up
PHP Code:
new VehRadioURL[MAX_VEHICLES][144]; 
LetsDoItPerfect is offline   Reply With Quote
Old 05/08/2020, 05:23 AM   #3
GeorgeLimit
Big Clucker
 
GeorgeLimit's Avatar
 
Join Date: Mar 2018
Location: Jawa Timur, Indonesia
Posts: 166
Reputation: 0
Default Re: String on variable with MAX_VEHICLE

Are you already try it?
__________________

Quote:
That is perfectly fine, I'm just pointing out where you made mistakes what does hearing "good job" get you? Absolutely nothing. You need to hear the problems otherwise you'll keep making the same mistakes
GeorgeLimit is offline   Reply With Quote
Old 05/08/2020, 08:17 PM   #4
LetsDoItPerfect
Little Clucker
 
Join Date: Mar 2020
Posts: 27
Reputation: 0
Default Re: String on variable with MAX_VEHICLE

It must work.
If you cant make it, send the full code
LetsDoItPerfect is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning 219: local variable "string" shadows a variable at a preceding level AlfaSufaIndo Scripting Help 2 13/07/2018 09:52 AM
warning 219: local variable "string" shadows a variable at a preceding level s3ek Scripting Help 3 30/07/2015 02:42 AM
MAX_VEHICLE AiRaLoKa Scripting Help 14 03/01/2015 03:01 PM
warning 219: local variable "string" shadows a variable at a preceding level Uberanwar Scripting Help 8 17/08/2013 08:55 AM
Compile error(warning 219: local variable "string" shadows a variable at a preceding level) calin1996 Scripting Help 6 25/04/2012 03:13 PM


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.