Would this work ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Would this work ? (
/showthread.php?tid=117803)
Would this work ? -
Bearfist - 01.01.2010
Hi, the reason that i'm asking is, that iam alone at home and i can't test it with other players =(
so here is the code ...
I put that code out of an command which teleports a player to a deathmatch room
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(playerid))
{
SetPlayerMarkerForPlayer(i,playerid,0x00000000);
}
}
This code should disable the markers for the other players ....
Would this work ?
Re: Would this work ? -
MadeMan - 01.01.2010
pawn Код:
if(IsPlayerConnected(playerid))
Change it to
Everything else should be fine.
Re: Would this work ? -
Bearfist - 01.01.2010
no .. that isn't necessary i think ^^
because it's activated by an command
Re: Would this work ? -
MadeMan - 01.01.2010
Why do you need to check if the player who typed the command is connected ?
Re: Would this work ? -
Bearfist - 01.01.2010
Oh .. you're right ... i changed it ...
Re: Would this work ? -
dice7 - 01.01.2010
Would it kill you if you would actually test it ?
Re: Would this work ? -
Bearfist - 01.01.2010
Please read before replying
... i have nobody to play with because i am alone at home and
others don't play samp ...
Re: Would this work ? -
dice7 - 01.01.2010
thats why you have bots
Re: Would this work ? -
Bearfist - 01.01.2010
Yeah ...
but it's very complicated ...