Timer Warnings
#1

Hi
I made /count command, it works(didn't test with another players, but it works when it's only me there...)

Код:
CMD:count(playerid, params[])
{
#pragma unused params

new Float: x, Float: y, Float: z;
GetPlayerPos(playerid, x, y, z);
for (new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInRangeOfPoint(i, 20, x, y, z))
{
GameTextForPlayer(i, "3", 1000, 6);
SetTimerEx("tri", 1000, 0, "i", i);
}
}
return 1;
}
forward jedan(playerid);
public jedan(playerid)
{
GameTextForPlayer(playerid, "GO!GO!GO!", 1000, 6);
count2[playerid] = 0;
return 1;
}
forward dva(playerid);
public dva(playerid)
{

GameTextForPlayer(playerid, "1", 1000, 6);
SetTimer("jedan", 1000, false, "i", playerid); //////// 5702
count2[playerid] = 1;
return 1;
}
forward tri(playerid);
public tri(playerid)
{
GameTextForPlayer(playerid, "2", 1000, 6);
SetTimer("dva", 1000, 0, "i", playerid); //////5709
count2[playerid] = 2;
return 1;
}
warnings:
Код:
D:\....\Server\0.3Z\gamemodes\USW.pwn(5702) : warning 202: number of arguments does not match definition
D:\...\Server\0.3Z\gamemodes\USW.pwn(5702) : warning 202: number of arguments does not match definition
D:\...\Server\0.3Z\gamemodes\USW.pwn(5709) : warning 202: number of arguments does not match definition
D:\...\Server\0.3Z\gamemodes\USW.pwn(5709) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
Reply


Messages In This Thread
Timer Warnings - by CroFoxX256 - 26.02.2014, 13:08
Re: Timer Warnings - by [XST]O_x - 26.02.2014, 13:15
Re: Timer Warnings - by CroFoxX256 - 26.02.2014, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)