SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/01/2012, 05:21 PM   #1
Request
Little Clucker
 
Join Date: Dec 2011
Location: Latvia
Posts: 35
Reputation: 0
Default How problem! (error 035: argument type mismatch (argument 2) Please help me some one!

Quote:
error 035: argument type mismatch (argument 2)
Code:
else if(strcmp(line, "Owner=", false, 6) == 0) strcpy(VehicleOwner[i], sizeof(VehicleOwner[]), line[6]);
else if(strcmp(line, "NumberPlate=", false, 12) == 0) strcpy(VehicleNumberPlate[i], sizeof(VehicleNumberPlate[]), line[12]);
PLS some one I will give +resp
Request is offline   Reply With Quote
Old 09/01/2012, 06:28 PM   #2
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,082
Reputation: 2512
Default Re: How problem! (error 035: argument type mismatch (argument 2) Please help me some one!

"strcpy" is USUALLY defined as: "strcpy(dest[], src[], len)". You seem to be using it as "strcpy(dest[], len, src[])".
Y_Less 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
(1500)error 035: argument type mismatch (argument 2) eеe Scripting Help 2 17/12/2011 02:26 PM
Help plox(error 035: argument type mismatch (argument 2) TheTerminator Scripting Help 2 18/11/2011 06:54 PM
command error 035: argument type mismatch (argument 2) Silent_Rainstorm Help Archive 5 07/06/2011 11:13 AM
[SOLVED]error 035: argument type mismatch (argument 1) KoczkaHUN Help Archive 0 28/04/2011 12:49 PM
SSCANF error 035: argument type mismatch (argument 2) DeltaAirlines12 Help Archive 6 11/02/2011 02:36 PM


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


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