SA-MP Forums Archive
[AJUDA]Funзгo GetGamemodeLines - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]Funзгo GetGamemodeLines (/showthread.php?tid=141180)



[AJUDA]Funзгo GetGamemodeLines - [BEP]AcerPilot - 12.04.2010

Bem, eu queria saber se hб algum modo de fazer uma funзгo do tipo GetGamemodeLines, que analisa o gamemode e te retorna o nъmero de linhas existente. Queria como neste exemplo:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/linhas", true)==0)
{
new linhas = GetGamemodeLines();
new string[32];
format(string,sizeof(string),"Este gamemode tem %s linhas.", linhas);
SendClientMessage(playerid,COLOR_GREEN,string);
return 1;
}
}
Hб algum jeito de fazer essa funзгo?


Re: [AJUDA]Funзгo GetGamemodeLines - Andre_Santos - 12.04.2010

Quote:
Originally Posted by [BEP
GeoPilot ]
Bem, eu queria saber se hб algum modo de fazer uma funзгo do tipo GetGamemodeLines, que analisa o gamemode e te retorna o nъmero de linhas existente. Queria como neste exemplo:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/linhas", true)==0)
{
new linhas = GetGamemodeLines();
new string[32];
format(string,sizeof(string),"Este gamemode tem %s linhas.", linhas);
SendClientMessage(playerid,COLOR_GREEN,string);
return 1;
}
}
Hб algum jeito de fazer essa funзгo?
Amigo isso nгo funciona assim...


Re: [AJUDA]Funзгo GetGamemodeLines - [BEP]AcerPilot - 14.04.2010

bUmP..........