26.12.2011, 09:14
Use what funky posted. You'd then check inside the command on what action they specified (to store, get or show) with a simple if/else if expression:
pawn Code:
if( !strcmp(action, "store") )
{
// .. They want to store
}
else if( !strcmp(action, "get") )
{
// .. They want to get
}
else if( !strcmp( action, "show") )
{
// .. They want to show
}
else
{
// .. Unknown action
}