Opposite for GetPlayerTeam
#1

I have this code

pawn Код:
if (GetPlayerTeam(playerid) == TEAM_MEDIC)
And normally i would put "!" to do the opposite,
But i get tag mismatch if i do it on GetPlayerTeam, So how would i do it on there?
Reply
#2

try this:
Код:
if(GetPlayerTeam(playerid) != "TEAM_MEDIC")
{
// Stuff here
}
Reply
#3

Yeah it worked, Another question, Im using ZCMD & sscanf for the first time,
And well the zcmd command works, But no other in the server does, Know why anyone?
Reply
#4

yes

you cant use zcmd with strcmp or other commands include so you can just use zcmd that what happened to me which i managed to fix my self
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)