Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sreekuttan on August 08, 2011, 03:19:20 pm
-
Please help me how to make amx and pwn file please send me work.then how to change game mode name
-
I think it's so:
[pawn] else if (strcmp(cmd, "setgamemodename", true) == 0) {
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) {
format(szMsg,sizeof(szMsg),">> Format Corrept: /c %s [Nick/Name]",cmdtext);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
}
else {
new string[256];
format(string,256,">> Game mode has been change to - %s",cmdtext[16]);
SendClientMessageToAll(string);
SetGameModeText( "%s", cmdtext[16] );
}
return 1;
}[/pawn]
;)