25.01.2010, 21:17
Randomizing SendClientMessage And/Or TogglePlayerControllable??
Is it possible, If so how would i do that.
Is it possible, If so how would i do that.
Originally Posted by Torran
Randomizing SendClientMessage And/Or TogglePlayerControllable??
Is it possible, If so how would i do that. |
if(randomvariable == 1) { // SendClientMessage } else if(randomvariable == 2) { // Other Message }
new rand = random(2);
if(rand == 0)
{
SendClientMessage(...);
}
if(rand == 1)
{
SendClientMessage(...);
}
Originally Posted by [HiC
TheKiller ]
pawn Код:
|
---------------------- v0.3a R4, ©2005-2009 SA-MP Team [23:30:18] [23:30:18] Server Plugins [23:30:18] -------------- [23:30:18] Loaded 0 plugins. [23:30:18] [23:30:18] Filter Scripts [23:30:18] --------------- [23:30:18] Loading filter script 'engine.amx'... [23:30:18] Engine System loaded. [23:30:18] Loaded 1 filter scripts. [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] 0 [23:30:18] Basic- Cops n Robbers [23:30:18] Number of vehicle models: 4