20.11.2012, 15:16
pawn Код:
CMD:v (playerid,params[])
{
if(params[2]==0){SendClientMessage(playerid,GREEN, "* Naudojimas: /v [tekstas]"); return 1;}
new zin[256];
format(zin,sizeof(zin),"VIP: %s",params[3]);
SendClientMessageToAll(GREEN,zin);
return 1;
}
sscanf
pawn Код:
CMD:v (playerid,params[])
{
if(sscanf(params,"c",params))return SendClientMessage(playerid,GREEN, "* Naudojimas: /v [tekstas]");
new zin[256];
format(zin,sizeof(zin),"VIP: %s",params);
SendClientMessageToAll(GREEN,zin);
return 1;
}