AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   know the word (https://forums.alliedmods.net/showthread.php?t=159105)

liryck 06-13-2011 00:00

know the word
 
hello long time that didnt post here

well the thing is how i can know the word in this array?

PHP Code:

g_szVoteMaps[iWinner

to know if the word that is there is the word 'Random' or if it is not.

Emp` 06-13-2011 00:58

Re: know the word
 
Code:

if ( equal( g_szVoteMaps[iWinner], "Random" ) )
{
  //it was random
}
else
{
  //it wasn't random
}



All times are GMT -4. The time now is 23:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.