Help me!!! 4 errors with 1 line.
#1

How can I fix this?

Код:
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : error 012: invalid function call, not a valid address
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : warning 215: expression has no effect
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\h\gamemodes\VGRP.pwn(3021) : fatal error 107: too many error messages on one line

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


4 Errors.
The bugged line:
Quote:

ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW);

Reply
#2

pawn Код:
ProxDetector(30.0,giveplayerid,string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
You had typing mistake : COLOR_YELLO W , i fixed it.
Reply
#3

Quote:
Originally Posted by rappy93
Посмотреть сообщение
pawn Код:
ProxDetector(30.0,giveplayerid,string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
You had typing mistake : COLOR_YELLO W , i fixed it.
I still have errors
Reply
#4

Post those errors together with the lines ..also show the entire command , not just the one line.
Reply
#5

Код:
 
                   {
		        if(/*PlayerInfo[giveplayerid][pConnectTime] < 2 || */PlayerInfo[giveplayerid][pWRestricted] > 0) return GiftPlayer(playerid, giveplayerid);
		        GivePlayerValidWeapon(giveplayerid, 27, 60000);
		        GivePlayerValidWeapon(giveplayerid, 24, 60000);
		        GivePlayerValidWeapon(giveplayerid, 31, 60000);
		        GivePlayerValidWeapon(giveplayerid, 34, 60000);
		        GivePlayerValidWeapon(giveplayerid, 29, 60000);
		        SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won a full weapon set!");
		        format(string, sizeof(string), "* %s was just gifted a full weapon set, enjoy!", GetPlayerNameEx(giveplayerid));
			ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
		    }
Here it is...
Reply
#6

Someone?
Reply
#7

Why do you have COLOR_YELLOW repeated 5 times? while you only use it once?
Код:
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
Reply
#8

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
Why do you have COLOR_YELLOW repeated 5 times? while you only use it once?
Код:
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
I dont really know...I didnt ask my scripter. I have to ask him
Reply
#9

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
Why do you have COLOR_YELLOW repeated 5 times? while you only use it once?
Код:
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
Same errors when I remove COLOR_YELLOW
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)