[Ajuda] Falta de atenзгo acontece kk
#1

Bom kk , e uma coisa simples que por motivos de falta de atenзгo nгo estou me recordando.

stock cargodiretoria(playerid) {

new String[128];
switch(PlayerInfo[playerid][pAdmin]) {

case 1: strcat(String, "Diretor");

case 2: strcat(String, "Fundador Diretor");

case 3: strcat(String, "Fundador Presidente");

case 4: strcat(String, "Fundador Scripter");
}
return 1;
}
format(Dialog, sizeof(Dialog), "{b30059} Vocк foi adimitido para a diretoria do servidor. \n | Reponsбvel: %s|",cargodiretoria(playerid));
Nгo a nenhum erro nesse codigo , mas nгo esta puxando as Strings , quando tento setar em algum format.
Help- me , Feliz Natal
Reply
#2

Simples, sу retornar a variбvel String. Esta variбvel estб muito grande, diminua a quantia de нndices, e nгo й necessбrio a keyword stock.
Reply
#3

Quote:
Originally Posted by DanielMatrix
Посмотреть сообщение
Bom kk , e uma coisa simples que por motivos de falta de atenзгo nгo estou me recordando.

stock cargodiretoria(playerid) {

new String[128];
switch(PlayerInfo[playerid][pAdmin]) {

case 1: strcat(String, "Diretor");

case 2: strcat(String, "Fundador Diretor");

case 3: strcat(String, "Fundador Presidente");

case 4: strcat(String, "Fundador Scripter");
}
return 1;
}
format(Dialog, sizeof(Dialog), "{b30059} Vocк foi adimitido para a diretoria do servidor. \n | Reponsбvel: %s|",cargodiretoria(playerid));
Nгo a nenhum erro nesse codigo , mas nгo esta puxando as Strings , quando tento setar em algum format.
Help- me , Feliz Natal
use code format to markdown the script code in post
Reply
#4

PHP код:
stock cargodiretoria(playerid) {
new 
String[128];
switch(
PlayerInfo[playerid][pAdmin]) {
case 
1strcat(String"Diretor");
case 
2strcat(String"Fundador Diretor");
case 
3strcat(String"Fundador Presidente");
case 
4strcat(String"Fundador Scripter");
}
return 
String;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)