The if statement is correct, you should check your DuelLos function.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Skirmant on January 23, 2010, 04:17:36 PM
Anyone know how much bandwidth server and mirc uses a month?
Quote from: lolyustabme on August 15, 2007, 10:03:54 PM
Add a speedometer, MPH and KMH.
Text:TextDrawCreate(Float:x, Float:y, text[]);
TextDrawDestroy(Text:text);
TextDrawLetterSize(Text:text, Float:x, Float:y);
TextDrawTextSize(Text:text, Float:x, Float:y);
TextDrawAlignment(Text:text, alignment);
TextDrawColor(Text:text, color);
TextDrawUseBox(Text:text, use);
TextDrawBoxColor(Text:text, color);
TextDrawSetShadow(Text:text, size);
TextDrawSetOutline(Text:text, size);
TextDrawBackgroundColor(Text:text, color);
TextDrawFont(Text:text, font);
TextDrawSetProportional(Text:text, set);
TextDrawShowForPlayer(playerid, Text:text);
TextDrawHideForPlayer(playerid, Text:text);
TextDrawShowForAll(Text:text);
TextDrawHideForAll(Text:text);
TextDrawSetString(Text:text, string[]);
TextDrawShowForPlayer(playerid, Text:text);
TextDrawShowForAll(Text:Text);
if(cmdtext[0] == ';')
{
for(new i = 0; i < 41; i++)
{
if(IsPlayerConnected(i) && GetPlayerTeam(i) == GetPlayerTeam(playerid))
{
newvar = FindPlayerIDFromString(tmp);
format(tmp,sizeof(tmp),"[TEAM] %s: %s",gPlayers[newvar],cmdtext[1]);
SendClientMessage(i,COLOR_GREEN,tmp);
}
}
return 0;
}
Quote
Ettans: ;message
[TEAM] Ettans: message
Quote[TEAM] Ettans: message
Quote from: Hancock on January 16, 2010, 04:04:57 PM
Thank you thijn , its a liiittle bit not clear (Float and bool and const name funcname[], interval, repeating len) xD
SetTimer("HelloWorld",5000,1); // Ran every 5000ms/5 seconds, repeating (1)
public HelloWorld()
{
//do something
}