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.
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLO W,COLOR_YELLOW); |
ProxDetector(30.0,giveplayerid,string,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
pawn Код:
|
{ 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); }
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
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); |
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); |