SA-MP Forums Archive
Help me plaese - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me plaese (/showthread.php?tid=470527)



Help me plaese - samapon - 18.10.2013

Error:
Quote:

C:\Users\Baiyai\Desktop\SAMP SERVER EURO\gamemodes\UG-RP.pwn(8483 : warning 213: tag mismatch
C:\Users\Baiyai\Desktop\SAMP SERVER EURO\gamemodes\UG-RP.pwn(124355) : warning 204: symbol is assigned a value that is never used: "query"

Code:
Quote:

if(!strcmp(cmd,"/manoadminkon",true) == 0)

Quote:

new query[128], field[256], DBResult:result;




Re: Help me plaese - Scrillex - 18.10.2013

delete new query[128] and you define right /manoadminkon.


Re: Help me plaese - EiresJason - 18.10.2013

pawn Код:
if(strcmp(cmd,"/manoadminkon",true) == 0)



Re: Help me plaese - samapon - 18.10.2013

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
delete new query[128] and you define right /manoadminkon.
"define right /manoadminkon."I don't understansir


Re: Help me plaese - EiresJason - 18.10.2013

Quote:
Originally Posted by samapon
Посмотреть сообщение
"define right /manoadminkon."I don't understansir
Replace
pawn Код:
if(!strcmp(cmd,"/manoadminkon",true) == 0)
with
pawn Код:
if(strcmp(cmd,"/manoadminkon",true) == 0)



Re: Help me plaese - samapon - 18.10.2013

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
pawn Код:
if(strcmp(cmd,"/manoadminkon",true) == 0)
Thanks you sir.