Szerző Téma: Warning  (Megtekintve 428 alkalommal)

Nem elérhető Petrik

  • 318
    • Profil megtekintése
Warning
« Dátum: 2012. December 18. - 17:28:42 »
0 Show voters
Sziasztok!
Egy újabb problémával fordulok hozzátok. Próbáltam egy random checkpointleküldõ cuccot elkészíteni, ami megy is, viszont egy warninggal, ami eléggé idegesít.
Itt vannak a cuccok, kérlek nézzétek meg, mi a hiba:
 
new Float: checkpoints[3][3] =
{
{99.5035,-1601.8103,12.4199},
{921.7435,-1887.3444,4.4095},
{1619.5404,-1778.0399,13.5417}
};

 

SetPlayerCheckpoint(playerid,checkpoints[rand][0], checkpoints[rand][1], checkpoints[rand][2])

;
És a warning:
 
D:\\******\\GTA\\*****\\gamemodes\\GameMode.pwn(645) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
1 Warning.

Nem elérhető Casamiro

  • 1046
    • Profil megtekintése
Warning
« Válasz #1 Dátum: 2012. December 18. - 17:31:54 »
0 Show voters
Checkpoint sugarát nem adtad meg.
 
SetPlayerCheckpoint(playerid,checkpoints[rand][0], checkpoints[rand][1], checkpoints[rand][2], 5.0)

Nem elérhető Petrik

  • 318
    • Profil megtekintése
Warning
« Válasz #2 Dátum: 2012. December 18. - 17:34:16 »
0 Show voters
Idézetet írta: Casamiro date=1355848314\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"31092\" data-ipsquote-contentclass=\"forums_Topic
Checkpoint sugarát nem adtad meg.
 
SetPlayerCheckpoint(playerid,checkpoints[rand][0], checkpoints[rand][1], checkpoints[rand][2], 5.0)

 

Ohh, az kimaradt! Figyelmetlen voltam, köszi!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal