Gamemode Basic Roleplay Script :: Scratch
#11
Pmst ma ei saa seda compainida vms keegi aitab?

C:\Users\kristi\Desktop\PAWNO\pawno\include\a_samp.inc(18) : fatal error 100: cannot read from file: "float"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


See error
Reply
#12
/pawno/includes/float.inc

Code:
return oper^Float:cellmin;                  /* IEEE values are sign/magnitude */

stock Float:operator*(Float:oper1, oper2)
    return floatmul(oper1, float(oper2));       /* "*" is commutative */

stock Float:operator/(Float:oper1, oper2)
    return floatdiv(oper1, float(oper2));

stock Float:operator/(oper1, Float:oper2)
    return floatdiv(float(oper1), oper2);

stock Float:operator+(Float:oper1, oper2)
    return floatadd(oper1, float(oper2));       /* "+" is commutative */

stock Float:operator-(Float:oper1, oper2)
    return floatsub(oper1, float(oper2));

stock Float:operator-(oper1, Float:oper2)
    return floatsub(float(oper1), oper2);

stock bool:operator==(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) == 0;

stock bool:operator==(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) == 0;  /* "==" is commutative */

stock bool:operator!=(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) != 0;

stock bool:operator!=(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) != 0;  /* "!=" is commutative */

stock bool:operator>(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) > 0;

stock bool:operator>(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) > 0;

stock bool:operator>(oper1, Float:oper2)
    return floatcmp(float(oper1), oper2) > 0;

stock bool:operator>=(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) >= 0;

stock bool:operator>=(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) >= 0;

stock bool:operator>=(oper1, Float:oper2)
    return floatcmp(float(oper1), oper2) >= 0;

stock bool:operator<(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) < 0;

stock bool:operator<(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) < 0;

stock bool:operator<(oper1, Float:oper2)
    return floatcmp(float(oper1), oper2) < 0;

stock bool:operator<=(Float:oper1, Float:oper2)
    return floatcmp(oper1, oper2) <= 0;

stock bool:operator<=(Float:oper1, oper2)
    return floatcmp(oper1, float(oper2)) <= 0;

stock bool:operator<=(oper1, Float:oper2)
    return floatcmp(float(oper1), oper2) <= 0;

stock bool:operator!(Float:oper)
    return (_:oper & cellmax) == 0;

/* forbidden operations */
forward operator%(Float:oper1, Float:oper2);
forward operator%(Float:oper1, oper2);
forward operator%(oper1, Float:oper2);
Reply
#13
Palun abi !

Tõmbasin serveri ja kõik töötas, /me ja /do töötas ka perfektselt !
Olen seda umbes 1 nädal editinud jajärsku avastasin et /me ja /do ei tööta.
Sain kuidagi /me tööle aga /do ei lähe tööle.
Avan pawnoga orginaal Gm kus kõik alles algne ja copin /do commandi oma editud GM-i kuid mängus kui teen /do test siis ütleb KASUTA: /do [tegevus]
ja mitte kuidagi korda seda ei saa...

Loodan kiiret abi,
Reply
#14
Uuenda sscanfi!
Reply
#15
(11.02 2013, 21:21)Aprest Wrote:  Uuenda sscanfi!

Suured Tänud !

Olin jah sscanfi näppind !
Reply
#16
Ikka ei saa compleinida ütleb selle

C:\Users\kristi\Desktop\SCRATCH ROLEPLAY GM\gamemodes\U1.pwn(21) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#17
Puudub pawno ... include kaustas fail nimega foreach.inc
Reply
#18
Hea gamemode!
SEE ON MINU
SIGNATUUR!

Äge eks? Big Grin

Reply
#19
Korralik Gamemode (Y)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)