Stereo Car HELP!
#1

Hello, well i was scripting an Stereo FS to my samp server. But when i try to luch it my server have an error.

So, sum1 could help me with the code? I want to make the next:

When u are in a car use /stereo and a message will apear and say "YourPlayerName turns the stereo on"
Also, you can buy in 24-7 cds and put them into the stereo (( /stereo cd1)) And then the message will say "Yourname put a CD of "X" in the stereo"
Finally /stereo again and a message that say "Yourplayername turns the stereo off"

Thanks before!
Reply
#2

Why not use a /me command?

Код:
if(!strcmp(cmdtext, "/me", true, 3)) {
if(!cmdtext[3])return SendClientMessage(playerid,COLOR, "usage: /me [message]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s .", str, cmdtext[4]);
SendClientMessageToAll(COLOR, str);
return 1;}
Basicly the same thing, just type /me Puts a CD in the Fuel CD
Reply
#3

Quote:
Originally Posted by [N
BL!nk ]
Why not use a /me command?

Код:
if(!strcmp(cmdtext, "/me", true, 3)) {
if(!cmdtext[3])return SendClientMessage(playerid,COLOR, "usage: /me [message]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s .", str, cmdtext[4]);
SendClientMessageToAll(COLOR, str);
return 1;}
Basicly the same thing, just type /me Puts a CD in the Fuel CD
He want to play GTA SA sounds.....not just /me rp it :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)