Get some errors
#1

pawn Код:
if (strcmp(gunid, "sunny", true, strlen(gunid)) == 0)) // 19211
{
SendRconCommand("weather 1");
OOCOff(COLOR_NEWS, "Local News: The weather forcast has changed to sunny!");
}
else if (strcmp(gunid, "fog", true, strlen(gunid)) == 0)) // 19216
Код:
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19211) : error 029: invalid expression, assumed zero
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19216) : error 029: invalid expression, assumed zero
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19216) : warning 215: expression has no effect
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19216) : error 001: expected token: ";", but found "if"
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19216) : error 029: invalid expression, assumed zero
C:\Users\Lachlan\Desktop\0.3a DRP\pawno\ERP.pwn(19216) : fatal error 107: too many error messages on one line

Reply
#2

Show full script
Reply
#3

pawn Код:
if (strcmp(gunid, "sunny", true, strlen(gunid) == 0)) // 19211
{
SendRconCommand("weather 1");
OOCOff(COLOR_NEWS, "Local News: The weather forcast has changed to sunny!");
}
else if (strcmp(gunid, "fog", true, strlen(gunid) == 0)) // 19216
It would really nice if you could check your code before posting it. You had 2 extra ')'. Also, there is a function to set weather =].

Quote:
Originally Posted by Coole[AG
]
Show full script
... Why?
Reply
#4

Quote:
Originally Posted by [HiC
TheKiller ]
pawn Код:
if (strcmp(gunid, "sunny", true, strlen(gunid) == 0)) // 19211
{
SendRconCommand("weather 1");
OOCOff(COLOR_NEWS, "Local News: The weather forcast has changed to sunny!");
}
else if (strcmp(gunid, "fog", true, strlen(gunid) == 0)) // 19216
It would really nice if you could check your code before posting it. You had 2 extra ')'. Also, there is a function to set weather =].

Quote:
Originally Posted by Coole[AG
]
Show full script
... Why?
Thanks man

Quote:
Originally Posted by Coole[AG
]

Show full script
Sorry, it's not for giveaway
Reply
#5

then how are we suppose to help u
Reply
#6

Not your GM your command >.>
Reply
#7

Hey First Just Show The Whole Command Nothing Else

1) Show Full Command
2) We Might Be Able To Help
3) Your Will Be Happy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)