need help with: /teamlogin
#1

hey i got idea about team login but...
i cant make it anyway.... i tried with zcmd :
pawn Код:
CMD:teamlogin(playerid, params[]) {
    if(isnull(params)) {
SendClientMessage(playerid, COLOR_RED, "Useage: /TEAMLOGIN <Team password>");
    } else {
// and what to do here? i tried if(params == password); didnt worked as i want.....
    }
    return 1;
}
Reply
#2

How do you mean it didn't work as I want?

What exactly are you trying to accomplish here?
Reply
#3

i want use params like password......
Reply
#4

pawn Код:
if(!strcmp(params,"pass")) {
Team[playerid]=1; // set team variable
}
Reply
#5

ok i ll try that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)