|
How can I make ... multiple commands in a single command?
I`ll give you an example: Let`s say I want to open a gate with /opengate and /og aswell ... do I have to make 2 separate commands for this? Later Edit: I found how to do it, thanks anyway. |
if(strcmp(cmd, "/og", true) == 0 || strcmp(cmd, "/opengate", true) == 0)
{
|
I pasted in the stuff you gave and i get these errors, could you possibly send me all your includes?
Code:
C:\Users\Sweet Mafia.Admin-HP\Desktop\Untitled.pwn(12) : error 001: expected token: ",", but found "." C:\Users\Sweet Mafia.Admin-HP\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero C:\Users\Sweet Mafia.Admin-HP\Desktop\Untitled.pwn(12) : warning 215: expression has no effect C:\Users\Sweet Mafia.Admin-HP\Desktop\Untitled.pwn(12) : error 001: expected token: ";", but found ")" C:\Users\Sweet Mafia.Admin-HP\Desktop\Untitled.pwn(12) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |