Search Results
pawn Код: if(newkeys & KEY_SECONDARY_ATTACK) //SFPD Shutter Inside{    if(IsPlayerInRangeOfPoint(playerid, 1.0, 1249.8104,-766.2807,92.1497))    {        new name[MAX_PLAYER_NAME];  Â...
211
pawn Код: if(IsPlayerInRangeOfPoint(playerid, 2.0, 1560.6959,3.2157,23.2993) || IsPlayerInRangeOfPoint(playerid, 2.0, 1548.2209,4.9159,23.5337))
81
What is not working...? I'm not sure but I think derby has an interior, so you need to change the vehicle interior and the player interior?
127
I've never tried it, but I think you can do it with OnPlayerGiveDamage I'm not sure if it works with heli... pawn Код: public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid){   ...
78
pawn Код: case DIALOG_QUIZ3:            {                if(!response) return Kick(playerid);                else                {                    switch...
116
Can you show us the part with: giveplayerid = ...
116
pawn Код: public OnPlayerConnect(playerid){    pName[MAX_PLAYER_NAME];    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);    if(!strcmp(pName, "[admin]", false, strlen("[admin]"))) Kick(playe...
70
pawn Код: new obj; // Somewhere at the top of your script public OnGameModeInit(){    obj = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);    return 1;} public OnPlayerCommandText(playerid...
68
I think it should be like this: pawn Код: enum td{    Text:TDSpeedClock;}new TextDraws[td][10]; (I'm not sure)
83
Which object is the missile object and what does the "missile" timer do? Does it detroy the missile?
96
Yeah, I never work with dcmd, maybe try adding this? pawn Код: dcmd_cardestroy(playerid,params[]) {        #pragma unused params    if(IsPlayerCommandLevel(playerid,"cardestroy")) { // I nam...
141
Maybe you could show us some code The login part of your script can be useful because at some part the admins are kicked when they're trying to login
142
You can use: GetPlayerIp(playerid, name, len[]); Save the IP address in the user file when they register And when they are coming back, check if the IP address is the same.
144
This might work?: pawn Код: case 8: {        new classes[500];        if(pInfo[playerid][pCookies] >= 10) {             pInfo[playerid][pCookies] -= 0;            strcat(cl...
62
I hope this works: pawn Код: dcmd_cardestroy(playerid,params[]) {    if(IsPlayerCommandLevel(playerid,"cardestroy")) { // I named it cardestroy...        if(!IsPlayerInAnyVehicle(playerid)) ...
141
Remove this line: pawn Code: SetSpawnInfo( playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); from the OnPlayerSpawn that you posted
140
You mean something like this? : pawn Код: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){    if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRI...
60
Do you want them to respawn or not?
141