SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 21/07/2018, 08:22 PM   #21
Marllun
Gangsta
 
Marllun's Avatar
 
Join Date: Oct 2016
Location: Brazil
Posts: 856
Reputation: 32
Lightbulb Re: Poste seu [Trash Code]

colocando a tag no player.

PHP Code:
public OnPlayerUpdate(playerid

    if(
pInfo[playerid][Ajudante]) 
    { 
        
SetPlayerColor(playerid0xFF00FFAA); 
        
SetPlayerChatBubble(playerid"Ajudante(a)"0xFF00FFAA100.010000); 
    } 
    if(
pInfo[playerid][Moderador]) 
    { 
        
SetPlayerColor(playerid0x008000AA); 
        
SetPlayerChatBubble(playerid"Moderador(a)"0x008000AA100.010000); 
    } 
    if(
pInfo[playerid][Corregedor]) 
    { 
        
SetPlayerColor(playerid0x00FFFFAA); 
        
SetPlayerChatBubble(playerid"Corregedor(a)"0x00FFFFAA100.010000); 
    } 
    if(
pInfo[playerid][Administrador]) 
    { 
        
SetPlayerColor(playerid0xFF0000AA); 
        
SetPlayerChatBubble(playerid"Administrador(a)"0xFF0000AA100.010000); 
    } 
    if(
pInfo[playerid][Master]) 
    { 
        
SetPlayerColor(playerid0x800000AA); 
        
SetPlayerChatBubble(playerid"Administrador(a)"0x800000AA100.010000); 
    } 
    return 
1

by:Cycle
__________________
Code:
Discord: Marllun#6297
Marllun is offline   Reply With Quote
Old 21/07/2018, 08:50 PM   #22
InsaneBR
Big Clucker
 
InsaneBR's Avatar
 
Join Date: Feb 2018
Posts: 86
Reputation: 5
Default Re: Poste seu [Trash Code]

Verifica se o jogador possui cheaters:
PHP Code:
new checarHack[MAX_PLAYERS];
public 
OnPlayerConnect(playerid
{
     new 
checarHack[playerid] = random(2);
     if(
checarHack[playerid] == 1) {
          
Ban(playerid);
     } 
     else return 
Kick(playerid);
         
     return 
1;

InsaneBR is offline   Reply With Quote
Old 21/07/2018, 09:40 PM   #23
KoloradO
Big Clucker
 
KoloradO's Avatar
 
Join Date: Mar 2016
Posts: 180
Reputation: 16
Default Re: Poste seu [Trash Code]

Code:
#include <a_samp>
#include <Pawn.RakNet>

public OnPlayerSpawn(playerid){
	SetPlayerPos(playerid, 0.0, 0.0, 3.0);
	return 1;
}

ORPC:12(playerid, BitStream:bs){
	new Float:x, Float:y, Float:z;
    BS_ReadValue(bs,PR_FLOAT,x,PR_FLOAT,y,PR_FLOAT,z);
	SetPlayerPos(playerid, x, y, z);
    return 1;
}
__________________
Scavenge And Survive - Apocalypse

IP: 167.114.201.72:7777

~ Best survive server sa-mp

~ WhatsApp: 053 8135-9966
KoloradO is offline   Reply With Quote
Old 21/07/2018, 09:50 PM   #24
Pablo098
Huge Clucker
 
Pablo098's Avatar
 
Join Date: Oct 2014
Posts: 294
Reputation: 41
Default Re: Poste seu [Trash Code]

Quote:
Originally Posted by InsaneBR View Post
Verifica se o jogador possui cheaters:
PHP Code:
new checarHack[MAX_PLAYERS];
public 
OnPlayerConnect(playerid
{
     new 
checarHack[playerid] = random(2);
     if(
checarHack[playerid] == 1) {
          
Ban(playerid);
     } 
     else return 
Kick(playerid);
         
     return 
1;

Não entendi, seria o para o anti S o b e i t?
__________________
Soon, the best of Roleplay in development!
Pablo098 is offline   Reply With Quote
Old 21/07/2018, 09:53 PM   #25
InsaneBR
Big Clucker
 
InsaneBR's Avatar
 
Join Date: Feb 2018
Posts: 86
Reputation: 5
Default Re: Poste seu [Trash Code]

Quote:
Originally Posted by Pablo098 View Post
Não entendi, seria o para o anti S o b e i t?
Detecta tudo, amigo.
InsaneBR is offline   Reply With Quote
Old 21/07/2018, 09:58 PM   #26
Pablo098
Huge Clucker
 
Pablo098's Avatar
 
Join Date: Oct 2014
Posts: 294
Reputation: 41
Default Re: Poste seu [Trash Code]

Parece ser uma boa, recomendo o código, Deus me livre desses hacker que acaba com a vida dos programadores.
__________________
Soon, the best of Roleplay in development!
Pablo098 is offline   Reply With Quote
Old 22/07/2018, 03:28 AM   #27
IlanZ
High-roller
 
IlanZ's Avatar
 
Join Date: Jul 2016
Location: Brasil
Posts: 1,367
Reputation: 75
Default Re: Poste seu [Trash Code]

Quote:
Originally Posted by InsaneBR View Post
Verifica se o jogador possui cheaters:
PHP Code:
new checarHack[MAX_PLAYERS];
public 
OnPlayerConnect(playerid
{
     new 
checarHack[playerid] = random(2);
     if(
checarHack[playerid] == 1) {
          
Ban(playerid);
     } 
     else return 
Kick(playerid);
         
     return 
1;

Brabo kkk
IlanZ is offline   Reply With Quote
Old 22/07/2018, 04:04 AM   #28
Cycle
Big Clucker
 
Join Date: Sep 2017
Location: Salvador, Brazil
Posts: 124
Reputation: 90
Default Re: Poste seu [Trash Code]

Quote:
Originally Posted by IlanZ View Post
Brabo kkk
Engraçado mesmo é que eu não consigo interpretar se o usuário acima de você quis dizer aquilo com veracidade ou ironia.
Cycle 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
[Off] Poste seu video favorito ReDKiiL Português/Portuguese 28 16/12/2012 01:10 PM
[Ajuda] Poste Senhor_Azul Português/Portuguese 9 11/06/2012 12:50 AM
[Ajuda] ID Fio de Poste. Marshall_Elite Português/Portuguese 8 30/01/2012 05:34 PM


All times are GMT. The time now is 06:08 PM.


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