SA-MP Forums Archive
Scripting Help - 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)
+--- Thread: Scripting Help (/showthread.php?tid=498000)



Scripting Help - gekas - 01.03.2014

I need cmds if i do example /hide player will hide on map can to send mee the code ?


Re: Scripting Help - gekas - 01.03.2014

CAN TO HELP MEE ?


Re: Scripting Help - RealHobo009 - 01.03.2014

There you go:

pawn Код:
command(hide,playerid,params[])
{
SetPlayerColor(playerid, 0xFFFF0000);// The last 2 zeros at the end make it transparent/invisible
return 1;
}



Re: Scripting Help - Golimad - 01.03.2014

command(unhide,playerid,params[])
{
SetPlayerColor(playerid, 0xF0F8FFAA);// The last 2 zeros at the end make it transparent/invisible
return 1;
}
Unhide :P


Re: Scripting Help - gekas - 01.03.2014

I am not understand :P
send it again


Re: Scripting Help - gekas - 01.03.2014

anymore ?


Re: Scripting Help - Clad - 01.03.2014

They gave you, Just edit it


Re: Scripting Help - AIped - 01.03.2014

pawn Код:
if(!strcmp(cmdtext, "/iwannaplayhideanseek", true))
{
     SetPlayerColor(playerid, 0xF0F8FFAA);// The last 2 zeros at the end make it transparent/invisible (as golimad said)
     return 1;
}



Re: Scripting Help - RealHobo009 - 01.03.2014

Quote:
Originally Posted by AIped
Посмотреть сообщение
pawn Код:
if(!strcmp(cmdtext, "/iwannaplayhideanseek", true))
{
     SetPlayerColor(playerid, 0xF0F8FFAA);// The last 2 zeros at the end make it transparent/invisible (as golimad said)
     return 1;
}
Lol i said it first, but thanks for "translating" to strcmp


Re: Scripting Help - Clad - 01.03.2014

RealHobo, It's fine, They all do it after all.