03.04.2009, 16:21
Hi,
I want to open a gate With my name not IfIsPlayerAdmin but with my name.
How Must that
I want to open a gate With my name not IfIsPlayerAdmin but with my name.
How Must that
|
Originally Posted by иєσz
|
|
Originally Posted by Jefff
use strcmp :>
|
that's it
new name[24];
for(new i=0; i < GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInArea(i,...))
{
GetPlayerName(i,name,24);
if(!strcmp(name, "ToD", true)) {
MoveObject(...);
}}}}
|
Originally Posted by Jefff
Код:
new name[24];
for(new i=0; i < GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInArea(i,...))
{
GetPlayerName(i,name,24);
if(!strcmp(name, "ToD", true)) {
MoveObject(...);
}}}}
|
Love ya lol