AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   One line, million errors :D. (https://forums.alliedmods.net/showthread.php?t=240821)

bornas 05-22-2014 16:46

One line, million errors :D.
 
Hello everyone.

I tried to compile a plugin wich i found in internet and there's a problem in it:

http://www.part.lt/img/360a8fa988a52...e47e2b3805.png


Lines 821 - 824:

PHP Code:

    if(CanExplode[player]) { 
    new 
Float:origin[3], origin2[3]
    
entity_get_vector(victim,EV_VEC_origin,origin)
    
origin2[0] = floatround(origin[0]) 


Flick3rR 05-22-2014 16:50

Re: One line, million errors :D.
 
The whole code or the plugin's thread. We can't compile only one part, when there are parts of the whole code.
But firstly, in this, what you gave us, there is no closing bracket on the last line. Try to put one.

YamiKaitou 05-22-2014 18:13

Re: One line, million errors :D.
 
Variable victim is undefined

.Dare Devil. 05-22-2014 19:54

Re: One line, million errors :D.
 
Its because your too stupid and cant read what messages are saying.
Before you posting something here, please learn basic of pawns.
Thank you!


All times are GMT -4. The time now is 09:46.

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