SA-MP Forums Archive
how to ? - 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: how to ? (/showthread.php?tid=153172)



how to ? - iJumbo - 07.06.2010

how i can include my gamemode in my filterscript like #include <gmname>


Re: how to ? - ViruZZzZ_ChiLLL - 08.06.2010

Uhhh... What do you mean by that??
and why would you do that?


Re: how to ? - iJumbo - 08.06.2010

i put a dialog in my gm and the response this is ita or english i want to change all text in english or italian in the filterscripts by itaoeng[playerid] = .... i have 2 include the gm dialogs


Re: how to ? - xxjackoxx - 08.06.2010

I tihnk he means he wants to have two dialogs for both languages


Re: how to ? - iJumbo - 08.06.2010

say me .... i know how to script


Re: how to ? - iJumbo - 08.06.2010

i want to put a blablabla[playerid] = 1 or 0 in the gm and in the filterscript but including a gm in the filterscript


Re: how to ? - MisterTickle - 08.06.2010

What do you mean? I believe Pvars work across Filterscripts and Gamemodes, I'm not sure about normal variables.


Re: how to ? - iJumbo - 08.06.2010

i want to put if ..blablaba[playerid] = 0 or 1 on my filterscript but dont add a new beacause it is already in a gm


Re: how to ? - MisterTickle - 08.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
i want to put if ..blablaba[playerid] = 0 or 1 on my filterscript but dont add a new beacause it is already in a gm
Use pVars

https://sampwiki.blast.hk/wiki/Per-player_variable_system

if(GetPVarInt(playerid, "blablabla")) == 0 {

etc