Raised This Month: $ Target: $400
 0% 

Cant find whats wrong in script to compile!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nydwyd
Junior Member
Join Date: May 2020
Old 05-06-2020 , 14:00   Re: Cant find whats wrong in script to compile!
Reply With Quote #1

Quote:
Originally Posted by OciXCrom View Post
Code:
new g_iPlayers[MAX_PLAYERS - 1];

=>

Code:
new g_iPlayers[MAX_PLAYERS];

----

And remove the last argument (false) in "set_dhudmessage".

PHP Code:
//// pimpspug.sma
//
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(539) : error 029: invalid expression, assumed zero
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(539) : error 088: number of arguments does not match definition
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(1171) : warning 225: unreachable code
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(2179) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(5075) : warning 225: unreachable code
//
// 2 Errors.
// Could not locate output file compiled\pimpspug.amx (compile failed).
//
// Compilation Time: 1.58 sec
// ----------------------------------------

Press enter to exit ... 
Now getting this

SOLVED: I left "," after removing "false". Im getting this warning right now, but i think its not important,right? p.s. removed script for safety.

PHP Code:
//// pimpspug.sma
//
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(1171) : warning 225: unreachable code
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(2179) : warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead.
// C:\Users\Vilhelmas\Desktop\COMPILER 2020\pimpspug.sma(5075) : warning 225: unreachable code
// Header size:           6320 bytes
// Code size:           173172 bytes
// Data size:           278344 bytes
// Stack/heap size:      81920 bytes
// Total requirements:  539756 bytes
//
// 3 Warnings.
// Done. 

Last edited by nydwyd; 05-06-2020 at 15:55.
nydwyd is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 17:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode