Ryder_RO Posted July 10, 2011 Report Posted July 10, 2011 salut Sa-Mp.roAm o mare problema oricine ar intra pe server ii da kick http://imageshack.us/photo/my-images/684/unledswy.png/Cred ca var folosi si onplayerconnectpublic OnPlayerConnect(playerid) { //Welcome to RGS================================================================================================================================ TextDrawShowForPlayer(playerid, Welcome); TextDrawShowForPlayer(playerid, to); TextDrawShowForPlayer(playerid, RGS); TextDrawShowForPlayer(playerid, commands); //================================================================================================================================= TextDrawShowForPlayer(playerid, intrare1); TextDrawShowForPlayer(playerid, intrare2); TextDrawShowForPlayer(playerid, intrare3); TextDrawShowForPlayer(playerid, intrare4); TextDrawShowForPlayer(playerid, intrare5); TextDrawShowForPlayer(playerid, intrare6); //TextDraw la intrarea in game================================================================================================================================ TextDrawShowForPlayer(playerid, Owner); TextDrawShowForPlayer(playerid, Ryder_RO); TextDrawShowForPlayer(playerid, owner1); TextDrawShowForPlayer(playerid, owner2); TextDrawShowForPlayer(playerid, owner3); //================================================================================================================================== GetPlayerName(playerid, PName, sizeof(PName)); GameTextForPlayer(playerid,"~r~Bine ~y~ai ~b~Venit!",6000,3); SetPlayerMapIcon(playerid, 38, 1222.5375, -2036.8712, 65.2266, 38, 0); SendClientMessage(playerid,COLOR_WHITE,"{FF0000}Romania {FFFF00}Galaxy {4764EF}Stunt"); SendClientMessage(playerid, COLOR_WHITE,"Type {FF0000}/cmds {FFFFFF}for all commands!"); SendClientMessage(playerid, COLOR_WHITE,"Type {FF0000}/teles {FFFFFF}to see teleportation on the server!"); SendClientMessage(playerid, COLOR_WHITE,"If you need a vehicle?Type {FF0000}/carmenu {FFFFFF}and if you want to tune cars write {FF0000}/tune"); Locked[playerid] = 0; ShiftInfo[playerid] = (ShiftInfo[playerid] == false) ? (true) : (true); ShiftTimer[playerid] = SetTimerEx("ShiftFunction", 200, true, "e", playerid); format(stringOPT,128,"{1C41E8}[Id:%d] {F50742} %s",playerid); SendPlayerMessageToAll( playerid, stringOPT ); new strings[15]; format(strings, 15, "]%d:100]",GetOnLinePlayers()); TextDrawSetString(players, strings); TextDrawShowForPlayer(playerid, players); Vup[playerid] = 0; JumpSize[playerid] = 0; VupKey[playerid] = 0; GivePlayerMoney(playerid, 99999); GivePlayerWeapon(playerid,30,999); GivePlayerWeapon(playerid,33,999); GivePlayerWeapon(playerid,27,999); SetPlayerScore(playerid, 100); new playerName[25];GetPlayerName(playerid,playerName,25); if(strfind(playerName,"[RGS]",false)!=(-1)) { SetPlayerColor(playerid,0x0000FFFF); } if(strfind(playerName,"[141]",false)!=(-1)) { SetPlayerColor(playerid,0x33FF00FF); } return 1; }sa fie din cauza cu [RGS] si [141]?EDIT : Imi face asa de cand am pus v2.0 pe host , la mn in pc nu imi da kick
Ryder_RO Posted July 10, 2011 Author Report Posted July 10, 2011 ladmindar nu cred ca e din cauza luiadica nushtiu
Roach Posted July 10, 2011 Report Posted July 10, 2011 In loc de:if(strfind(playerName,"[RGS]",false)!=(-1))Pune:if( strfind( playerName, "[RGS]", true ) != -1 )In loc de:if(strfind(playerName,"[141]",false)!=(-1))Pune:if( strfind( playerName, "[141]", true ) != -1 )Dane public ShiftFunction Underground-GFX
Ryder_RO Posted July 10, 2011 Author Report Posted July 10, 2011 gata am rezolvat .era de la ladmin am sters FS si ce era din scriptfiles si leam pus din nou si acu merge svDelete Topic
Question
Ryder_RO
salut Sa-Mp.ro
Am o mare problema
oricine ar intra pe server ii da kick
http://imageshack.us/photo/my-images/684/unledswy.png/
Cred ca var folosi si onplayerconnect
sa fie din cauza cu [RGS] si [141]?
EDIT : Imi face asa de cand am pus v2.0 pe host , la mn in pc nu imi da kick
3 answers to this question
Recommended Posts