What's wrong with this cps?
#1

pawn Код:
CPs[1] = CreateDynamicCP(70.6080,1873.4103,17.6406,272.9167,0,0,0,0,0,0,3.0,-1,-1,-1,100.0); //Shop cp
    CPs[2] = CreateDynamicCP(93.0436,1927.1671,18.0430,267.9595,0,0,0,0,0,0,100.0); // Help Cp
    CPs[3] = CreateDynamicCP(131.0330,1928.2758,19.2049,0.3937,0,0,0,0,0,0,100.0); // Rules Cp
Are written wrong?They are checkpoints.

warning 202: number of arguments does not match definition
Reply
#2

the function has too many parameters and you also included rotation in it which is not even needed and not in the function
CreateDynamicCP(Float: x, Float: y, Float: z, Float: size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Reply
#3

Umh ye i know that,but how i can fix?
Reply
#4

I just told you the solution
Reply
#5

Quote:
Originally Posted by wildcookie007
Посмотреть сообщение
I just told you the solution
Already tried that,but i'm getting same warnings.
Reply
#6

facepalm

pawn Код:
CreateDynamicCP(70.6080,1873.4103,17.6406,3,0,0,-1,100); //Shop cp
same with others.
Reply
#7

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)