Guest sworm Odesláno: 13. Prosinec, 2008 Share Odesláno: 13. Prosinec, 2008 Cafte ja newiem ako spravit FS #define COLOR_BLUE 0xAFAFAFAA #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" p2 by sworm"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { //GiveallMoney if(strcmp(cmdtext, "/givemoneyall", true) == 0 && IsPlayerAdmin(playerid)) { for(new i=0; i { if(IsPlayerConnected(i)) { //sprava pre hraca GivePlayerMoney(i, 100000); } } SendClientMessageToAll(COLOR_BLUE,"Všetci hráči dostali od admina 100000 . "); return 1; } Napriklad toto by bol FS,ptz ja mam spravenu admin villu a ked ju cem dat do FS tak spravim toto iste a este pridam OnGameModeInit a pridam objecty atd .. ? Link to comment Share on other sites More sharing options...
0 Miny24 0 Odesláno: 13. Prosinec, 2008 Share Odesláno: 13. Prosinec, 2008 EE pokud ces obejkty tak je davej do OnFilterScriptInit ale prikazy nwm ani .... Link to comment Share on other sites More sharing options...
0 Jirkas 0 Odesláno: 13. Prosinec, 2008 Share Odesláno: 13. Prosinec, 2008 Příkazy nech v OnPlayerCommandText no a objekty dávej tam co ti už poradil Miny Link to comment Share on other sites More sharing options...
0 Miny24 0 Odesláno: 13. Prosinec, 2008 Share Odesláno: 13. Prosinec, 2008 Je aha ssry ja si nevsimnul toho OnPlayerCommandText aha oki tak to vkladej tam kamo Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 14. Prosinec, 2008 Share Odesláno: 14. Prosinec, 2008 No Lol co se to tady teď řeší... Ale vph aspoň že se to naučíte... Na fs není nic moc odlišnýho... Link to comment Share on other sites More sharing options...
Dotaz
Guest sworm
Cafte ja newiem ako spravit FS
#define COLOR_BLUE 0xAFAFAFAA
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" p2 by sworm");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
//GiveallMoney
if(strcmp(cmdtext, "/givemoneyall", true) == 0 && IsPlayerAdmin(playerid)) {
for(new i=0; i
{
if(IsPlayerConnected(i)) {
//sprava pre hraca
GivePlayerMoney(i, 100000);
}
}
SendClientMessageToAll(COLOR_BLUE,"Všetci hráči dostali od admina 100000 . ");
return 1;
}
Napriklad toto by bol FS,ptz ja mam spravenu admin villu a ked ju cem dat do FS tak spravim toto iste a este pridam OnGameModeInit a pridam objecty atd .. ?
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now