I need Help. [+REP]
#1

PHP код:
    CreateCheckpoint(GLOBAL_OWNER_IDDRAG_ROB1940.3191,1017.8076,992.4688);
    
SetCheckpointInterior(DRAG_ROB10);
     
CreateCheckpoint(GLOBAL_OWNER_IDCLUCK_ROB371.3485,-6.6498,1001.8589);
    
SetCheckpointInterior(CLUCK_ROB9);
     
CreateCheckpoint(GLOBAL_OWNER_IDSTRIP_ROB1215.1404,-12.7778,1000.9219);
    
SetCheckpointInterior(STRIP_ROB2);
    
CreateCheckpoint(GLOBAL_OWNER_IDBURGER_ROB378.5348,-72.0883,1001.5151);
    
SetCheckpointInterior(BURGER_ROB10);
    
CreateCheckpoint(GLOBAL_OWNER_IDAMMU_ROB298.4149,-80.4314,1001.5156);
    
SetCheckpointInterior(AMMU_ROB4);
    
CreateCheckpoint(GLOBAL_OWNER_IDBURGER_ROB2378.4193,-68.5915,1001.5151);
    
SetCheckpointInterior(BURGER_ROB210);
    
CreateCheckpoint(GLOBAL_OWNER_IDSEX_ROB, -105.5634,-10.9637,1000.7188);
    
SetCheckpointInterior(SEX_ROB3);
    
CreateCheckpoint(GLOBAL_OWNER_IDHOSPITAL1607.3618,1820.2750,10.8280);
    
CreateCheckpoint(GLOBAL_OWNER_IDBINCO_ROB207.5931,-101.3633,1005.2578);
    
SetCheckpointInterior(BINCO_ROB15);
    
CreateCheckpoint(GLOBAL_OWNER_IDSAND_ROB1139.1024,-4.0604,1000.6719);
    
SetCheckpointInterior(SAND_ROB12);
    
CreateCheckpoint(GLOBAL_OWNER_IDPIZZA_ROB376.5511,-115.2914,1001.4922);
    
SetCheckpointInterior(PIZZA_ROB5);
    
CreateCheckpoint(GLOBAL_OWNER_IDAIR_CHECK1685.3970,1448.0449,10.7700);
    
SetCheckpointInterior(AIR_CHECK0);
    
CreateCheckpoint(GLOBAL_OWNER_IDCALG_ROB2152.6143,1599.7460,1006.1732);
    
SetCheckpointInterior(CALG_ROB1);
    
CreateCheckpoint(GLOBAL_OWNER_IDBAR_ROB498.6798,-75.7964,998.7578);
    
SetCheckpointInterior(BAR_ROB11); 
The errorr's.

PHP код:
C:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(841) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(843) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(845) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(847) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(849) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(851) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(853) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(855) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(856) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(858) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(860) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(862) : warning 202number of arguments does not match definition
C
:\Users\Arlind\Desktop\Cops And Robber's (CNR)\gamemodes\newcnr.pwn(864) : warning 202: number of arguments does not match definition
C:\Users\Arlind\Desktop\Cops And Robber'
(CNR)\gamemodes\newcnr.pwn(866) : warning 202number of arguments does not match definition
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
14 Warnings

The line are all

PHP код:
CreateCheckpoint(GLOBAL_OWNER_IDDRAG_ROB1940.3191,1017.8076,992.4688); 
All lines with Createcheckpoint have this errorr
Reply
#2

isnt it like this?
Код:
CreateCheckpoint(Float:x,Float:y,Float:z,Float:size);
Reply
#3

Idk

How can i look it ?
This is Cm Cnr

Help mee please
Reply
#4

Replace

Код:
    CreateCheckpoint(GLOBAL_OWNER_ID, DRAG_ROB, 1940.3191,1017.8076,992.4688,3.0);
    SetCheckpointInterior(DRAG_ROB, 10);
     CreateCheckpoint(GLOBAL_OWNER_ID, CLUCK_ROB, 371.3485,-6.6498,1001.8589,3.0);
    SetCheckpointInterior(CLUCK_ROB, 9);
     CreateCheckpoint(GLOBAL_OWNER_ID, STRIP_ROB, 1215.1404,-12.7778,1000.9219,3.0);
    SetCheckpointInterior(STRIP_ROB, 2);
    CreateCheckpoint(GLOBAL_OWNER_ID, BURGER_ROB, 378.5348,-72.0883,1001.5151,3.0);
    SetCheckpointInterior(BURGER_ROB, 10);
    CreateCheckpoint(GLOBAL_OWNER_ID, AMMU_ROB, 298.4149,-80.4314,1001.5156,3.0);
    SetCheckpointInterior(AMMU_ROB, 4);
    CreateCheckpoint(GLOBAL_OWNER_ID, BURGER_ROB2, 378.4193,-68.5915,1001.5151,3.0);
    SetCheckpointInterior(BURGER_ROB2, 10);
    CreateCheckpoint(GLOBAL_OWNER_ID, SEX_ROB, -105.5634,-10.9637,1000.7188,3.0);
    SetCheckpointInterior(SEX_ROB, 3);
    CreateCheckpoint(GLOBAL_OWNER_ID, HOSPITAL, 1607.3618,1820.2750,10.8280,3.0);
    CreateCheckpoint(GLOBAL_OWNER_ID, BINCO_ROB, 207.5931,-101.3633,1005.2578,3.0);
    SetCheckpointInterior(BINCO_ROB, 15);
    CreateCheckpoint(GLOBAL_OWNER_ID, SAND_ROB, 1139.1024,-4.0604,1000.6719,3.0);
    SetCheckpointInterior(SAND_ROB, 12);
    CreateCheckpoint(GLOBAL_OWNER_ID, PIZZA_ROB, 376.5511,-115.2914,1001.4922,3.0);
    SetCheckpointInterior(PIZZA_ROB, 5);
    CreateCheckpoint(GLOBAL_OWNER_ID, AIR_CHECK, 1685.3970,1448.0449,10.7700,3.0);
    SetCheckpointInterior(AIR_CHECK, 0);
    CreateCheckpoint(GLOBAL_OWNER_ID, CALG_ROB, 2152.6143,1599.7460,1006.1732,3.0);
    SetCheckpointInterior(CALG_ROB, 1);
    CreateCheckpoint(GLOBAL_OWNER_ID, BAR_ROB, 498.6798,-75.7964,998.7578,3.0);
    SetCheckpointInterior(BAR_ROB, 11);
Reply
#5

EDIT:
My Bad.

CreateCheckpoint(Float,Float:y,Float:z,Floatiz e);
Descripttion:
Creates a checkpoint at the specified location and
specified size.
Parameters:
Float - x cordinates of the checkpoint position.
Float:y - y cordinates of the checkpoint position.
Float:z - z cordinates of the checkpoint postion.

Source: https://sampwiki.blast.hk/wiki/Make_It_C...able_%28MIC%29
Reply
#6

Thnx Fixxed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)