Random number.
#3

Quote:
Originally Posted by Lokii
Посмотреть сообщение
You could do like this:
PHP код:

[CODE]static const randobj[] =
{
    
12761550121012701247
}; //<< ------- HERE IS 15062 
ObiectTreasure CreateObject(random(sizeof(randobj)), // <<--- HERE IS 15064
[/CODE
Код:
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15064) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15064) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15064) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15064) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15064) : error 001: expected token: ",", but found ";"
C:\Program Files (x86)\Server_Samp\Gamemode-uri\Pear\gamemodes\Pear.pwn(15062) : warning 203: symbol is never used: "RandomT"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Not work
Reply


Messages In This Thread
Random number. - by Longover - 02.02.2019, 20:26
Re: Random number. - by Lokii - 02.02.2019, 20:48
Re: Random number. - by Longover - 02.02.2019, 20:55
Re: Random number. - by Lokii - 02.02.2019, 21:07
Re: Random number. - by Longover - 02.02.2019, 21:18
Re: Random number. - by Lokii - 02.02.2019, 21:26
Re: Random number. - by Longover - 02.02.2019, 21:49

Forum Jump:


Users browsing this thread: 3 Guest(s)