14.10.2013, 20:01
I can write whatever and he'll still say "Alright, here's the drugs."
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsKnocking[playerid])
{
if(strcmp(text,"drugs"))
{
SCM(playerid, -1, "Alright, here's the drugs.");
TogglePlayerControllable(playerid,1);
}
else if(strcmp(text,"weapons"))
{
SCM(playerid, -1, "Alright, here's the weapons.");
TogglePlayerControllable(playerid,1);
}
IsKnocking[playerid]--;
}
return 1;
}