Hey, How to make?
#1

Hey , Im just woundering how to make a gate to just a player, Like Example "pMember" thats to a Faction is there any
pName?

Thanks
Reply
#2

i dont get u what u mean?
Reply
#3

Like, Just a gate that can be opened buy 1 person if James_Carter is the one that can open How can i do that
Reply
#4

CHECKONTHECOMMAND

new pName[24];
GetPlayerName(playerid,pName,24);

if(!strcmp(pName, "James_Carter", true) == 0)) return dontopen gate
Reply
#5

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
CHECKONTHECOMMAND

new pName[24];
GetPlayerName(playerid,pName,24);

if(!strcmp(pName, "James_Carter", true) == 0)) return dontopen gate
strcmp, sucks know. It's all i used to use, now i started to use dcmd, much better
Reply
#6

steven... dcmd is to make commands... he isn't using strcmp commands in there.. he is comparing 2 strings
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)