- 0
eroare compilare
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Gabster4Ever
/* [FS] By HsY */ #include <a_samp> #define COLOR_ORANGE 0xFF9900AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_BLUE 0x2641FEAA #define FILTERSCRIPT forward GateClose(); new bartataglia; new poarta; public OnFilterScriptInit() { poarta = CreateObject(975, 1529.6015625, -1685.9583740234, 14.057502746582, 0, 0, 0); bartataglia = CreateObject(988, 902.79235839844, -946.18060302734, 39.499565124512, 0, 0, 6); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/poartals", true)==0) { MoveObject(poarta, 1539.8341064453, -1686.0211181641, 14.224103927612, 2); SetTimer("GateClose", 8000, 0); SendClientMessage(playerid, COLOR_BLUE,"Ai deschis poarta,in 8 secunde poarta se va inchide"); GivePlayerMoney(playerid,0); return 1; } if (strcmp(cmdtext, "/bartataglia", true)==0) { MoveObject(bartataglia, 902.78308105469, -946.18634033203, 34.884086608887, 3); SetTimer("GateClose", 10000, 0); SendClientMessage(playerid, COLOR_ORANGE,"Ai deschis poarta spre bar"); GivePlayerMoney(playerid,0); return 1;} } public GateClose() { MoveObject (poarta,1529.6015625, -1685.9583740234, 14.057502746582, 2); MoveObject (bartataglia,902.79235839844, -946.18060302734, 39.499565124512, 3); return 1; }D:\desk\xTEam\filterscripts\poarta.pwn(46) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
6 answers to this question
Recommended Posts