SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Español/Spanish

Reply
 
Thread Tools Display Modes
Old 12/05/2017, 05:39 AM   #1
Gamerd
Big Clucker
 
Gamerd's Avatar
 
Join Date: Jan 2017
Location: Republica Dominiana,La Romana,Los Mulos
Posts: 72
Reputation: 0
Exclamation Ayuda Con Los Rangos De Admin

[SIZE="<font><font>4</font></font>"]Necesito Una Ayuda Con los Rangos De Admin y Moderadores y asta Mienbro Como Hago que cuando un Admin o Moderador o Mienbro Escriba Salga Su Rango Mas O Menos Asi ^*¨][Mienbro]GameRD[0]:Hola a Todos y Los Admin [Staff]GameRD[0]:Que Dicen Compis [VIP]GameRD[0]:Achis Achis Algo Asi Es Para Una Gm desde 0 que e Estado Trabajando Yo Solo [/SIZE]
__________________
Nunca Te Quedes De Ultimo Logra Tu Meta y Sigue A Delante
Trabajos
Sistema Anti-Spawn
Gamerd is online now   Reply With Quote
Old 12/05/2017, 06:01 AM   #2
EdgarHN
Little Clucker
 
EdgarHN's Avatar
 
Join Date: Feb 2016
Location: Los angeles, CA.
Posts: 33
Reputation: 0
Default Respuesta: Ayuda Con Los Rangos De Admin

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;
}

Last edited by EdgarHN; 12/05/2017 at 03:05 PM.
EdgarHN is offline   Reply With Quote
Old 14/05/2017, 06:57 AM   #3
Gamerd
Big Clucker
 
Gamerd's Avatar
 
Join Date: Jan 2017
Location: Republica Dominiana,La Romana,Los Mulos
Posts: 72
Reputation: 0
Default Re: Ayuda Con Los Rangos De Admin

No Funciono Broh me salta este Error En el Pawno

Quote:
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\pawno\include\dutils.inc(20) : warning 201: redefinition of constant/macro (symbol "MAX_STRING")
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1055) : error 017: undefined symbol "admin"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1056) : error 017: undefined symbol "Nombre"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(105 : error 017: undefined symbol "vip"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1059) : error 017: undefined symbol "Nombre"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1061) : error 017: undefined symbol "vip"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1062) : error 017: undefined symbol "Nombre"
C:\Users\User Principal 2\Documents\San Fierro Killer TDM\San Fierro Killer TDM\filterscripts\LuxAdmin.pwn(1069) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
__________________
Nunca Te Quedes De Ultimo Logra Tu Meta y Sigue A Delante
Trabajos
Sistema Anti-Spawn
Gamerd is online now   Reply With Quote
Old 16/05/2017, 09:21 PM   #4
FixFl0w
Big Clucker
 
Join Date: Aug 2016
Posts: 67
Reputation: 4
Default Respuesta: Ayuda Con Los Rangos De Admin

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..
FixFl0w is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rangos xCezar Español/Spanish 1 15/07/2016 02:04 PM
Problema Rangos con estrellas Okrs Español/Spanish 2 05/06/2015 01:18 AM
[Duda]Rangos Adm [RP] kaku924 Español/Spanish 3 16/10/2013 08:17 PM
Duda rangos Staff juank Español/Spanish 8 10/04/2012 12:53 AM
[Ayuda] Rangos X-DiEgO-X Español/Spanish 12 09/03/2010 05:52 PM


All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.