Posts: 64
Threads: 15
Joined: Feb 2016
Reputation:
0
12.05.2017, 06:01
(
Последний раз редактировалось EdgarHN; 12.05.2017 в 15:05.
)
en el Callback OnPlayerText >
new msg[15+15+24+3+50];
if(admin > 0){
format(msg,sizeof(msg),"[Staff]%s[%d]: %s",Nombre(playerid),playerid,text);
SendClientMessageToAll(-1,msg);
}else if(vip > 0){
format(msg,sizeof(msg),"[Vip]%s[%d]: %s",Nombre(playerid),playerid,text);
SendClientMessageToAll(-1,msg);
}else if(vip < 1){
format(msg,sizeof(msg),"[Usuario]%s[%d]: %s",Nombre(playerid),playerid,text);
SendClientMessageToAll(-1,msg);
return 0;
}
en los stocks >
stock Nombre(playerid){
new name[24];
GetPlayerName(playerid,name,sizeof(name));
return name;
}
Posts: 94
Threads: 10
Joined: Aug 2016
Reputation:
0
Es porque debes cambiar 'vip' y 'admin' a las variables de ello segъn lo tengas en tu servidor.
Y no colocaste el stock que te diу 'EdgarHN' al final, sino me equivoco..