SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 28/03/2017, 08:15 PM   #1
Face9000
Banned
 
Join Date: Jan 2010
Location: Pigland
Posts: 3,351
Reputation: 190
Default Argument mismatch

Im getting argument mismatch at those lines:

pawn Code:
USA_CP_SHOP = CreateDynamicCP(-250.0965,2602.7275,62.8582,88.2492,3.0,-1,-1,-1,100.0);
    GERMANY_CP_SHOP = CreateDynamicCP(-1478.7811,2640.7166,58.7879,0.4926,3.0,-1,-1,-1,100.0);
    RUSSIA_CP_SHOP = CreateDynamicCP(-162.0187,1132.3522,19.7422,269.6302,3.0,-1,-1,-1,100.0);

But the code seems ok. I already defined it.
Face9000 is offline   Reply With Quote
Old 28/03/2017, 08:49 PM   #2
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 542
Reputation: 75
Default Re: Argument mismatch

PHP Code:
USA_CP_SHOP CreateDynamicCP(-250.09652602.727562.85823.0, -1, -1, -1100.0);
GERMANY_CP_SHOP CreateDynamicCP(-1478.78112640.716658.78793.0, -1, -1, -1100.0);
RUSSIA_CP_SHOP    CreateDynamicCP(-162.01871132.3522 ,19.74223.0, -1, -1, -1100.0); 
You were putting the Facing Angle parameter in the CreateDynamicCP(..); function, a checkpoint doesn't need a facing angle.
ISmokezU 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
[Ajuda] Ajuda para resolver argument type mismatch(argument 1) Infiniteplay Português/Portuguese 12 01/03/2015 08:01 AM
C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1) Lirbo Scripting Help 2 12/12/2014 02:51 PM
error 35: Argument Type Mismatch (argument 2) Forbidden Name System Stoyanov Scripting Help 2 01/11/2014 08:50 PM
Argument type mismatch (argument 1) when getting info from MySQL database kamiliuxliuxliux Scripting Help 3 05/06/2014 02:08 PM
error 035: argument type mismatch (argument 2) [Using MySQL R7/R8 With Cache] viveka27 Scripting Help 1 21/05/2013 03:31 PM


All times are GMT. The time now is 02:49 AM.


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