Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #include <colors>
- public Plugin: myinfo=
- {
- name = "L4D2 Server a greeting",
- description = "Greeting to players a connected to server",
- author = "kaizer",
- version = "0.1",
- url = "don't have web site"
- }
- public OnClientPutInServer(Client)
- {
- decl String:UserName[65];
- if(IsClientConnected(Client) && !IsFakeClient(Client))
- {
- GetClientName(Client,UserName,sizeof(UserName));
- }
- public CreateTimer(Client){
- CreateTimer(Float: 30.0,Timer:%s,any:CPrintToChat(Client),Flags=0);
- }
- }
- CPrintToChat(Client,"{olive}%s{default}Welcome To {olive}CyberWorld #1.",UserName);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement