Message isnt visible for other players!
#1

Again me l have this for San Fierro Airport (SFA) cmd:
pawn Код:
CMD:sfa(playerid,params[]) {
    if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
    CarSpawner(playerid,522);
    TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
    tseconds[playerid] = 6;
    format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
    if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
    vCount[playerid] = 1;
    Tx[playerid] =-1649.8623;
    Ty[playerid] =-228.9695;
    Tz[playerid] =14.1440;
    Ti[playerid] = 0;
    format(telestring,43,"~R~San ~G~Fierro ~B~Airport!");
    new msg[500], pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(msg, sizeof(msg), "{251BE0}%s {3CE01B}Just {FA0C24}Teleported To {FAFA0C}San {FAFA0C}Fierro Airport {FF8000].::/sfa::.)", pname);
    SetTimerEx("setstunt",3000,0,"i", playerid);
    return 1;
}
the message doesent apper to other players that the playr who used cmd has teleported how to fix it?
Reply
#2

1 Error
pawn Код:
SATDM_v13.pwn(48151) : error 017: undefined symbol "msg"
Reply
#3

lol still same error xD
Reply
#4

Fuck sorry l have added SendClientMessageToAll(-1,msg); in 2 diffrent places and l didnt see but its working now thanks
Reply
#5

Quote:
Originally Posted by Xentiarox
Посмотреть сообщение
goto hell and learn to program... kids these days.
Why must people being arrogant cocks to people who are clearly new to programming? he/she is clearly trying to learn hence why they're asking.
Reply
#6

Yeah I agree with what you said there. The reason I don't help out as much as I could on the forums is because sa-mp is full of kids that don't listen. I love helping out but it's hard/frustrating trying to show someone something and they don't listen. But you can tell Spike is actually confused. It's nice you helped him though!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)