Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*if(strcmp(cmd, "/socio", true) == 0 || strcmp(cmd, "/so", true) == 0)
- {
- if(IsPlayerConnected(playerid))
- {
- GetPlayerName(playerid, sendername, sizeof(sendername));
- new length = strlen(cmdtext);
- while ((idx < length) && (cmdtext[idx] <= ' '))
- {
- idx++;
- }
- new offset = idx;
- new result[64];
- while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
- {
- result[idx - offset] = cmdtext[idx];
- idx++;
- }
- result[idx - offset] = EOS;
- if(!strlen(result))
- {
- MSGPLAYER(playerid, COLOR_GRAD2, "USE: (/so)cio [socio chat]");
- return 1;
- }
- format(string, sizeof(string), "*%d Socio %s: %s", PlayerInfo[playerid][pSocio], sendername, result);
- if (PlayerInfo[playerid][pSocio] >= 1)
- {
- SendCMessage(COLOR_YELLOW, string);
- }
- printf("Socio %s: %s", sendername, result);
- }
- return 1;
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement