11.07.2013, 11:46
Hi, im wana make static vehs in filterscript but where to add them?It dont appiers in server!
And do i need to add train like of parts(wagons)?? Becouse i want to make train set in Unity Station!
Код:
#include <a_samp> #define COLOR_YELLOW2 0xF5DEB3AA #define COLOR_GREY 0xAFAFAFAA #define COLOR_PURPLE 0xC2A2DAFF #if defined FILTERSCRIPT public OnPlayerSpawn(playerid) { SendClientMessage(playerid,COLOR_PURPLE,"You can start train job at Unity Station!"); return 1; } public OnFilterScriptInit() { AddStaticVehicle(538,1690.6956,-1953.7982,13.5469,90.7252,1,1); AddStaticVehicle(537,1766.6824,-1957.2683,13.5469,269.2007,1,1); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnFilterScriptExit() { return 1; } #endif public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; }