Errors compiling
#4

Ok i'll give all that fuction:

Код:
8655: public Matuoja(playerid)
8656: {
8657: new msg[128];
8658: if(PlayerToPoint(20,playerid,-1997.9504,248.4633,31.5155))
8659: {
8660: if(GetPlayerSpeed(playerid) >= 100)
8661: {
8662: if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
8663: {
8664: if(!playerDB[playerid][matavimas])
8665: {
8666: playerDB[playerid][matavimas]=true;
8667: SetTimer("Pamatav",3000,1);
8668: SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+2);
8669: new msg2[128],name[MAX_PLAYER_NAME];
8670: GetPlayerName(playerid,name,sizeof(name));
8671: format(msg2,sizeof(msg2),"[racija] %s Virsijo leistina greiti(100KM/H)",name);
8672: SendMessageToCops(BLUE,msg2);
8673: format(msg,128,"* Jus virsijote greiti, leistinas greitis 100 KM/H o jusu buvo %d KM/H.",GetPlayerSpeed(playerid));
8674: SendClientMessage(playerid,RED,msg);
8675: }
8676: }
8677: }
8678: return 1;
8679: }
8680: return 1;
8681: }
It's in Lithuanian language ;P forward is in script starting. And i really think it's too long, because now is just one:
Код:
PlayerToPoint(20,playerid,-1997.9504,248.4633,31.5155)
And now it's compiling successfully, but when i make 13 PlayerToPoint it has compiling errors ;//
Reply


Messages In This Thread
Errors compiling - by Daslee - 23.08.2010, 20:44
Re: Errors compiling - by Nonameman - 24.08.2010, 00:42
Re: Errors compiling - by dax123 - 24.08.2010, 03:52
Re: Errors compiling - by Daslee - 24.08.2010, 09:31
Re: Errors compiling - by Daslee - 24.08.2010, 09:40
Re: Errors compiling - by Daslee - 24.08.2010, 20:25
Re: Errors compiling - by gangstajoe - 25.08.2010, 14:02
Re: Errors compiling - by gangstajoe - 25.08.2010, 14:07
Re: Errors compiling - by Pawno_Master - 25.08.2010, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)