16.06.2013, 08:16
How can I make the /enter command see at which business he is? I never worked with arrays before so thank you if you could help
Код:
#include <a_samp> public OnGameModeInit() { print("Business include by Sellize loaded"); return 1; } public OnGameModeExit() { print("Business include by Sellize unloaded"); return 1; } forward CreateBusiness(type, Float:x, Float:y, Float:z, entrancefee); public CreateBusiness(type, Float:x, Float:y, Float:z, entrancefee) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/enter", true)) { // return 1; } return 0; }