Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
array sizes do not match, or destination array is too small
MrMou6
Big Clucker
Posts: 52
Threads: 22
Joined: Jul 2011
Reputation:
0
#1
11.11.2013, 19:13
FIXED.
Find
Reply
Loot
Huge Clucker
Posts: 235
Threads: 7
Joined: Nov 2013
Reputation:
0
#2
11.11.2013, 19:14
Is vInfo[carid][pavadinimas] a string or an int/float?
Find
Reply
Konstantinos
Spam Machine
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
#3
11.11.2013, 19:16
You basically want to copy a string to another, but that way would only work if the sizes do match.
Change to:
pawn Код:
strcat
(
(
vInfo
[
carid
]
[
pavadinimas
]
[
0
]
=
'
\0
'
, vInfo
[
carid
]
[
pavadinimas
]
)
, vpavadinimas,
128
)
;
Find
Reply
MrMou6
Big Clucker
Posts: 52
Threads: 22
Joined: Jul 2011
Reputation:
0
#4
11.11.2013, 19:17
thanks, i fix it.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help