Quote:
Originally Posted by ♣ Joker ♠
Quote:
Originally Posted by [EFS
]
Quote:
Originally Posted by [EFS
]
Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by [EFS
]
How to make to checkpoint will be just for ONE player not for evryone.... what i need to put instead of -1 ??
|
Their playerid.
|
Ok its work...Can you help me whit destroy checkpints whit command...Something like this....
And i get this error
C:\Users\NASTIE\Desktop\ExtremeFun\filterscripts\C heckpoint.pwn(602) : error 017: undefined symbol "CPiD"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
But when i type that command, checkpoints are still visible on map... Can you help me...
|
Can someone help me?
|
Isnt it CP ID ?
And what should the code do ?
If you want to disable the checkpoints you need to do
pawn Код:
CPDisabled[THE_CHECKPOINT_ID] = true;
or just
pawn Код:
DestroyCheckpoint(THE_CHECKPOINT_ID); //DestroyCheckpoint function is posted in the first post
@TheKiller
The first OnPlayerEnterStreamedCheckpoint uses CPID (which should be CPiD)
|
Done
Quote:
Originally Posted by [EFS
]
Not BAD but i make this command
pawn Код:
if(strcmp("/otkaz1", cmdtext, true, 10) == 0) { if(kam1[playerid] == 0 ) return SendClientMessage(playerid ,0xFF0000FF, "Nisi zaposlen!"); else { SendClientMessage(playerid, 0xFF5A00FF, "------------------------------------------------"); SendClientMessage(playerid, 0xFFFFFFFF, "Dao si otkaz."); SendClientMessage(playerid, 0xFFFFFFFF, "Vise ne radis kao vozac kamiona!"); SendClientMessage(playerid, 0xFFFFFFFF, ".:: EFS ::."); SendClientMessage(playerid, 0xFF5A00FF, "------------------------------------------------"); new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof string,"%s je dao otkaz",name); SendClientMessageToAll(0x6400FFFF,string); // Unisti! DestroyCheckpoint(44); DestroyCheckpoint(45); DestroyCheckpoint(46); DestroyCheckpoint(47); DestroyCheckpoint(48); DestroyCheckpoint(49); DestroyCheckpoint(50); DestroyCheckpoint(51); DestroyCheckpoint(52); DestroyCheckpoint(53); // DISABLE! CPDisabled[44] = true; CPDisabled[45] = true; CPDisabled[46] = true; CPDisabled[47] = true; CPDisabled[48] = true; CPDisabled[49] = true; CPDisabled[50] = true; CPDisabled[51] = true; CPDisabled[52] = true; CPDisabled[53] = true;
} return 1; }
And when i type that command i still see checkpoint on the map.... please help
|
I would recommend you do it like this.
pawn Код:
new CP1 = CreateCheckpoint(....);
DestroyCheckpoint(CP1);
And there was a problem where it would only disable on the next stream but it shouldn't really matter.