SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

Reply
 
Thread Tools Display Modes
Old 20/03/2017, 05:37 PM   #1
HackerAnonim
Little Clucker
 
Join Date: Dec 2016
Posts: 1
Reputation: 0
Default [PAWNO] Eroare la compilare

CLOSED

Last edited by HackerAnonim; 22/06/2017 at 12:20 PM.
HackerAnonim is offline   Reply With Quote
Old 21/03/2017, 04:09 AM   #2
HeLiOn_PrImE
High-roller
 
HeLiOn_PrImE's Avatar
 
Join Date: Jul 2010
Location: Cluj Napoca, Romania
Posts: 2,614
Reputation: 347
Default Re: [PAWNO] Eroare la compilare

La inceputul scriptului unde ai forward-urile adauga linia:
Code:
forward OnPlayerPrivmsg(playerid);
Nu stiu exact daca e numai playerid in paranteza, sau mai e si altceva. Te uiti unde e folosita functia si pui ce e acolo in paranteza si la forward.
Asta te va scapa de primul warning de la linia 1154.

Celelalte tin de aranjarea in pagina a codului.
Ai putea sa iei tot codul din GM si sa il prelucrezi cu un tool de indentare. Ultima data eu am folosit asta:
http://courses.cs.washington.edu/cou...au/indent.html (ai grija sa selectezi acolo mai jos "tabs").

O sa te scape de loose indentations, dar e foarte posibil sa iti aranjeze altcumva codul in pagina.
Eventual fa un back-up dupa ce ai rezolvat primul warning. Apoi daca nu iti place aranjeaza tool-ul codul, sa ai scriptul de rezerva.
Iti zic clar de acum ca cele doua warninguri nu iti vor afecta functionalitatea GM-ului. Indentarea corecta te ajuta insa, sa fi organizat.
__________________

"It's only a game, but people are real. You have to respect them." - Mick88
"You don't deserve a +rep, if you ask for it. Those who deserve it, don't have to ask." - me

HeLiOn_PrImE is offline   Reply With Quote
Old 26/03/2017, 09:21 AM   #3
edyun
Big Clucker
 
Join Date: Sep 2014
Posts: 66
Reputation: 3
Default Re: [PAWNO] Eroare la compilare

Acelea nu sunt erori,ar trebui ori sa iti aranjezi codul la liniile de la Loose Indenation or sa folosesti #pragma size 0
edyun is offline   Reply With Quote
Old 28/03/2017, 09:05 PM   #4
Spmn
Huge Clucker
 
Join Date: Jun 2015
Location: Romania
Posts: 472
Reputation: 91
Default Re: [PAWNO] Eroare la compilare

OnPlayerPrivmsg() ... LOL

Acel callback e outdated de vreo 7-8 ani. Ce script incerci sa compilezi?
Spmn is online now   Reply With Quote
Old 29/03/2017, 04:16 PM   #5
PawnFox
Huge Clucker
 
PawnFox's Avatar
 
Join Date: Feb 2012
Location: Romānia
Posts: 253
Reputation: 14
Default Re: [PAWNO] Eroare la compilare

Quote:
Originally Posted by Spmn View Post
OnPlayerPrivmsg() ... LOL

Acel callback e outdated de vreo 7-8 ani. Ce script incerci sa compilezi?
Da, acel plugin a fost scos in versiuna 0.3a
__________________
PawnFox 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
Eroare compilare myhay9898 Romānă/Romanian 2 18/04/2015 02:30 PM
Eroare compilare. Rakku Romānă/Romanian 3 07/08/2014 08:34 AM
Eroare compilare Rakku Romānă/Romanian 4 06/08/2014 09:54 AM
eroare compilare gm kabroN Romānă/Romanian 1 05/01/2012 10:30 AM
Eroare la compilare. an4rei Romānă/Romanian 21 05/11/2011 05:06 PM


All times are GMT. The time now is 02:16 AM.


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