31.05.2014, 10:32
Hey guys, I got kind of a problem.
I was editting my gamemode and everything worked fine. Later i editted something.
And it gave me this errors:
Here's the part of the script:
I hope you guys can help me.
I was editting my gamemode and everything worked fine. Later i editted something.
And it gave me this errors:
Код:
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : error 012: invalid function call, not a valid address C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : warning 215: expression has no effect C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : warning 215: expression has no effect C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : error 001: expected token: ";", but found ")" C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : error 029: invalid expression, assumed zero C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(3030) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
else if(gift == 7) { GivePlayerCash(giveplayerid, 20000); //ERROR LINE SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $20,000!"); format(string, sizeof(string), "* %s was just gifted $20,000, enjoy!", GetPlayerNameEx(giveplayerid)); ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW); }