|
05-20-2012
|
7
|
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
How do I change this code to gs1?
PHP Code:
function onPlayerChats() {
if (player.guild == "Events Team") {
if (player.chat == "/open") {
hide;
sleep 10;
show;}}}
also how do I make it so the player sets a certain tag if they touch something? Like in tts you have a certain gang tag (Red Team or Green Team). What would the gs1 code be to make it so if you touch a certain object your gang tag become a certain tag?
Also how do I make it so if a player touches this certain spot they warp to another are on the level. (in gs1 please)
Thanks, sorry i'm still trying to get the hang of gs1
|
ez
if (playerchats && strequals(#c,/open)&& strequals(#g,Events Team)) {
hide;
sleep 10;
show;
}
|
for the level warp :
if (playertouchsme) {
setlevel2 levelname.nw,x,y;
}
|
|
|
|
|