SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese > Lançamentos/Releases

Reply
 
Thread Tools Display Modes
Old 02/06/2017, 02:26 AM   #11
apolo6666
Banned
 
Join Date: May 2017
Posts: 19
Reputation: 0
Default Re: Anti Troll de Veículos

Quote:
Originally Posted by RazorGuigo View Post
é uma include, só colocar em "pawn/includes/nome.inc"
depois vá em sem GM e coloque #include <nome>
mas eu ja fiz isso amigo.. foi colocando a public antitroll que deu este erro.. entendeu?
apolo6666 is offline   Reply With Quote
Old 02/06/2017, 02:35 AM   #12
RazorGuigo
Banned
 
Join Date: May 2016
Location: South is my Country
Posts: 1,139
Reputation: 104
Default Re: Anti Troll de Veículos

Quote:
Originally Posted by apolo6666 View Post
mas eu ja fiz isso amigo.. foi colocando a public antitroll que deu este erro.. entendeu?
sim, mas verificou se a sua callback, está igual a da sua include (abra ela, e confira)
RazorGuigo is offline   Reply With Quote
Old 02/06/2017, 11:11 PM   #13
apolo6666
Banned
 
Join Date: May 2017
Posts: 19
Reputation: 0
Default Re: Anti Troll de Veículos

Quote:
Originally Posted by RazorGuigo View Post
estou usando o pastebin, e nele não ocorreu este problema, utiliza o code dele!
(este erro ocorre quando, a public está diferente do forward)
esta ai.. qual o erro? pelo que ta certo so mudei de true para false acima la... pois não uso foreach!


prints::
Attached Images
File Type: png tai2.png (93.4 KB, 31 views)
File Type: png tai3.png (89.6 KB, 25 views)
apolo6666 is offline   Reply With Quote
Old 06/06/2017, 01:26 AM   #14
apolo6666
Banned
 
Join Date: May 2017
Posts: 19
Reputation: 0
Default Re: Anti Troll de Veículos

ngm pra ajudar ai
apolo6666 is offline   Reply With Quote
Old 09/06/2017, 12:31 AM   #15
NATANGameron
Big Clucker
 
NATANGameron's Avatar
 
Join Date: Mar 2017
Location: Includes/World.inc
Posts: 162
Reputation: 1
Question Re: Anti Troll de Veículos

Esta kickando meus NPC como faço pra não kicka eles?

PHP Code:
public OnPlayerTroll(playerid)
{
    new 
string[256];
    new 
plid;
    if(!
IsPlayerNPC(plid)) return oque?
    
format(stringsizeof(string), "O(A) jogador(a) %s foi kickado(a) por [By]Admin[BOT]. Motivo: Troll Car"GetPlayerNameEx(plid));
    
SendClientMessageToAll(Amarelostring);
    
KickLog(string);
    
Kick(plid);
    return 
1;

__________________

Nunca desista de seus sonhos, é só tenta que você chega la.
NATANGameron is offline   Reply With Quote
Old 09/06/2017, 12:54 AM   #16
KinG7
Guest
 
Posts: n/a
Default Re: Anti Troll de Veículos

Code:
if(IsPlayerNPC(playerid)) return 1;
  Reply With Quote
Old 26/06/2017, 05:09 AM   #17
Matyaas
Huge Clucker
 
Matyaas's Avatar
 
Join Date: Mar 2012
Posts: 381
Reputation: 9
Default Respuesta: Anti Troll de Veículos

Code:
C:\Users\matia\Desktop\Carpetas\SERVER\GTASERVER\Left 4 dead\pawno\include\AntiTroll.inc(123) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
__________________
Matyaas 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
Looking for anti Troll Car , aimbot jesdynguyen Scripting Help 4 04/03/2019 09:04 AM
Need help anti troll car skiplovebra Scripting Help 8 07/02/2019 06:00 PM
Looking for anti Troll car VenomMancer Scripting Help 4 30/06/2015 07:00 PM
Anti car troll TheWay Scripting Help 4 24/01/2015 07:38 AM


All times are GMT. The time now is 04:49 PM.


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