public OnGameModeInit() { AddPlayerClass(3,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(4,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(5,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(6,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(7,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(8,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(9,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(10,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(11,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(12,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(13,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(14,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(15,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(16,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(17,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(18,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(19,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(20,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(21,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(22,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(23,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(189,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(190,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(191,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(192,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(193,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(194,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(195,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(196,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(197,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(198,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(199,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(200,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(201,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(202,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(203,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(204,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(205,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(232,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(233,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(234,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0);
Compressed\newtest\gamemodes\fgame.pwn(2665) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2666) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2667) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2668) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2669) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2670) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2671) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2672) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2673) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2674) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2675) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2676) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2677) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2678) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2679) : warning 202: number of arguments does not match definition
Float:Angle
idk why i get these warnings ? can someone tell me what's wrong ? it gives me warning of everysingle skin
Код:
public OnGameModeInit() { AddPlayerClass(3,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(4,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(5,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(6,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(7,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(8,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(9,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(10,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(11,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(12,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(13,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(14,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(15,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(16,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(17,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(18,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(19,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(20,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(21,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(22,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(23,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(189,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(190,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(191,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(192,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(193,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(194,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(195,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(196,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(197,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(198,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(199,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(200,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(201,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(202,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(203,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(204,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(205,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(232,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(233,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); AddPlayerClass(234,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0); Код:
Compressed\newtest\gamemodes\fgame.pwn(2665) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2666) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2667) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2668) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2669) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2670) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2671) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2672) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2673) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2674) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2675) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2676) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2677) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2678) : warning 202: number of arguments does not match definition Compressed\newtest\gamemodes\fgame.pwn(2679) : warning 202: number of arguments does not match definition |
AddPlayerClass(233,2098.9939, 1158.6058, 24.5625,0,0,0,0,0,0);
AddPlayerClass(0, Float:x ,Float:y,Float:z, Float:Angle, 0, 0, 0, 0, 0, 0);
public OnGameModeInit()
{
AddPlayerClass(3,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(4,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(5,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(6,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(7,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(8,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(9,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(10,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(11,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(12,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(13,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(14,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(15,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(16,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(17,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(18,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(19,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(20,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(21,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(22,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(23,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(189,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(190,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(191,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(192,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(193,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(194,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(195,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(196,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(197,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(198,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(199,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(200,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(201,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(202,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(203,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(204,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(205,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(232,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(233,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
AddPlayerClass(234,2098.9939, 1158.6058, 24.5625,Angel,0,0,0,0,0,0);
YOU FORGET TO ADD FLOAT:ANGEL
REPLACE ANGEL PHP код:
|
thats because the function "AddPlayerClass " in this case, uses 11 arguments but you have 10 arguments so change it.
You have: pawn Код:
pawn Код:
|
// Correct :
AddPlayerClass(0, Float:x ,Float:y,Float:z, Float:Angle, 0, 0, 0, 0, 0, 0);
// False :
AddPlayerClass(0, Float:x ,Float:y,Float:z, 0, 0, 0, 0, 0, 0);